Add tab completion for ReverseListenerBindAddress

bug/bundler_fix
William Vu 2016-02-01 13:57:45 -06:00
parent 1828b7fda6
commit 93bdea0a60
1 changed files with 1 additions and 1 deletions

View File

@ -3081,7 +3081,7 @@ class Core
option_values_target_addrs().each do |addr|
res << addr
end
when 'LHOST', 'SRVHOST'
when 'LHOST', 'SRVHOST', 'REVERSELISTENERBINDADDRESS'
rh = self.active_module.datastore['RHOST'] || framework.datastore['RHOST']
if rh and not rh.empty?
res << Rex::Socket.source_address(rh)