1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

Land #6521: ReverseListenerBindAddress tab complete

This works regardless of case.
This commit is contained in:
OJ 2016-02-02 07:27:23 +10:00
commit 37f077c79e
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597

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)