Add tab completion for ReverseListenerBindAddress
parent
1828b7fda6
commit
93bdea0a60
|
@ -3081,7 +3081,7 @@ class Core
|
||||||
option_values_target_addrs().each do |addr|
|
option_values_target_addrs().each do |addr|
|
||||||
res << addr
|
res << addr
|
||||||
end
|
end
|
||||||
when 'LHOST', 'SRVHOST'
|
when 'LHOST', 'SRVHOST', 'REVERSELISTENERBINDADDRESS'
|
||||||
rh = self.active_module.datastore['RHOST'] || framework.datastore['RHOST']
|
rh = self.active_module.datastore['RHOST'] || framework.datastore['RHOST']
|
||||||
if rh and not rh.empty?
|
if rh and not rh.empty?
|
||||||
res << Rex::Socket.source_address(rh)
|
res << Rex::Socket.source_address(rh)
|
||||||
|
|
Loading…
Reference in New Issue