Land #6521: ReverseListenerBindAddress tab complete

This works regardless of case.
bug/bundler_fix
OJ 2016-02-02 07:27:23 +10:00
commit 37f077c79e
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
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)