We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cfe812 + b41aa0e commit b02e1f6Copy full SHA for b02e1f6
lib/msf/ui/console/module_command_dispatcher.rb
@@ -132,7 +132,7 @@ def cmd_check(*args)
132
hosts = Rex::Socket::RangeWalker.new(opt.normalize(ip_range_arg))
133
134
# Check multiple hosts
135
- last_rhost_opt = mod.rhost
+ last_rhost_opt = mod.datastore['RHOST']
136
last_rhosts_opt = mod.datastore['RHOSTS']
137
mod.datastore['RHOSTS'] = ip_range_arg
138
begin
@@ -169,7 +169,7 @@ def check_simple(instance=nil)
169
instance = mod
170
end
171
172
- rhost = instance.rhost
+ rhost = instance.datastore['RHOST']
173
rport = nil
174
peer = rhost
175
if instance.datastore['rport']
0 commit comments