Update Auxiliary::UDPScanner to collect all responses by default

bug/bundler_fix
Jon Hart 2015-08-13 11:30:20 -07:00
parent 61e23ad23e
commit 92d0e212d9
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 3 additions and 1 deletions

View File

@ -180,7 +180,9 @@ module Auxiliary::UDPScanner
end end
# Called for each response packet # Called for each response packet
def scanner_process(data, shost, sport) def scanner_process(data, shost, _sport)
@results[shost] ||= []
@results[shost] << data
end end
# Called before the scan block # Called before the scan block