Skip to content

Commit 60ea0bd

Browse files
committed
Land rapid7#7407, nil fix for auxiliary/dos/tcp/synflood
2 parents 55597d7 + 8749eaf commit 60ea0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/dos/tcp/synflood.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def run
4444
open_pcap
4545

4646
sent = 0
47-
num = datastore['NUM']
47+
num = datastore['NUM'] || 0
4848

4949
print_status("SYN flooding #{rhost}:#{rport}...")
5050

0 commit comments

Comments
 (0)