Merge results initialization fix

unstable
HD Moore 2012-01-31 01:29:44 -06:00
parent ec5fd723ba
commit 0b8987f2af
3 changed files with 3 additions and 4 deletions

0
data/php/bind_tcp_ipv6.php Normal file → Executable file
View File

View File

@ -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]

View File

@ -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]