Skip to content

Commit ff0b52c

Browse files
committed
Example per-batch vprint, a useful default
1 parent 1f66586 commit ff0b52c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/scanner/udp_scanner_template.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def scanner_process(data, src_host, src_port)
5454

5555
# Called before the scan block
5656
def scanner_prescan(batch)
57+
vprint_status("Sending probes to #{batch[0]}->#{batch[-1]} (#{batch.length} hosts)")
5758
@results = {}
5859
@probe = "abracadabra!"
5960
end

0 commit comments

Comments
 (0)