msftidy - fixed

bug/bundler_fix
Bruno Morisson 2013-12-19 17:30:34 +00:00
parent 2480f023b1
commit 564601e083
1 changed files with 5 additions and 5 deletions

View File

@ -274,12 +274,12 @@ class Metasploit3 < Msf::Auxiliary
def run
if datastore['RESOLVE'] == 'remote'
run_host(datastore['RHOSTS'])
run_host(datastore['RHOSTS'])
else
# resolve IP or crack IP range
ip_list = Rex::Socket::RangeWalker.new(datastore['RHOSTS'])
ip_list.each do |ip|
run_host(ip)
# resolve IP or crack IP range
ip_list = Rex::Socket::RangeWalker.new(datastore['RHOSTS'])
ip_list.each do |ip|
run_host(ip)
end
end
end