diff --git a/lib/msf/core/auxiliary/udp_scanner.rb b/lib/msf/core/auxiliary/udp_scanner.rb index a54773f337..12814c4f39 100644 --- a/lib/msf/core/auxiliary/udp_scanner.rb +++ b/lib/msf/core/auxiliary/udp_scanner.rb @@ -180,7 +180,9 @@ module Auxiliary::UDPScanner end # Called for each response packet - def scanner_process(data, shost, sport) + def scanner_process(data, shost, _sport) + @results[shost] ||= [] + @results[shost] << data end # Called before the scan block