requete mal formee
This commit is contained in:
commit
4202dc0e43
4 changed files with 16 additions and 10 deletions
|
@ -9,9 +9,11 @@ L=[
|
|||
|
||||
adresse="localhost"
|
||||
port=80
|
||||
with socket.socket(family=socket.AF_INET, type=socket.SOCK_STREAM) as s:
|
||||
s.connect(adresse,port)
|
||||
s.send(L[r.randint(0,2)].encode())
|
||||
def attaque():
|
||||
while True:
|
||||
with socket.socket(family=socket.AF_INET, type=socket.SOCK_STREAM) as s:
|
||||
s.connect(adresse,port)
|
||||
s.send(L[r.randint(0,2)].encode())
|
||||
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue