Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge results initialization fix

  • Loading branch information...
commit 0b8987f2af6fa9a939412cbeaff1d0143a117a32 1 parent ec5fd72
@hmoore-r7 hmoore-r7 authored
View
0  data/php/bind_tcp_ipv6.php 100644 → 100755
File mode changed
View
4 modules/auxiliary/scanner/discovery/udp_probe.rb
@@ -66,7 +66,7 @@ def setup
# Fingerprint a single host
def run_host(ip)
-
+ @results = {}
@thost = ip
begin
@@ -140,8 +140,6 @@ def run_host(ip)
# The response parsers
#
def parse_reply(pkt)
-
- @results ||= {}
# Ignore "empty" packets
return if not pkt[1]
View
3  modules/auxiliary/scanner/discovery/udp_sweep.rb
@@ -73,6 +73,8 @@ def run_batch_size
# 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 @@ def run_batch(batch)
# The response parsers
#
def parse_reply(pkt)
- @results ||= {}
# Ignore "empty" packets
return if not pkt[1]
Please sign in to comment.
Something went wrong with that request. Please try again.