Merge results initialization fix
parent
ec5fd723ba
commit
0b8987f2af
|
@ -66,7 +66,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
# Fingerprint a single host
|
||||
def run_host(ip)
|
||||
|
||||
@results = {}
|
||||
@thost = ip
|
||||
|
||||
begin
|
||||
|
@ -141,8 +141,6 @@ class Metasploit3 < Msf::Auxiliary
|
|||
#
|
||||
def parse_reply(pkt)
|
||||
|
||||
@results ||= {}
|
||||
|
||||
# Ignore "empty" packets
|
||||
return if not pkt[1]
|
||||
|
||||
|
|
|
@ -73,6 +73,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
# Fingerprint a single host
|
||||
def run_batch(batch)
|
||||
@results = {}
|
||||
|
||||
print_status("Sending #{@probes.length} probes to #{batch[0]}->#{batch[-1]} (#{batch.length} hosts)")
|
||||
|
||||
begin
|
||||
|
@ -171,7 +173,6 @@ class Metasploit3 < Msf::Auxiliary
|
|||
# The response parsers
|
||||
#
|
||||
def parse_reply(pkt)
|
||||
@results ||= {}
|
||||
|
||||
# Ignore "empty" packets
|
||||
return if not pkt[1]
|
||||
|
|
Loading…
Reference in New Issue