├── README.md ├── main.py └── tokens.txt /README.md: -------------------------------------------------------------------------------- 1 | # DiscordTokenChanger 2 | Proxyless, Unflagged Token password changer. 3 | 4 | # **✅ Tutorial** 5 | 6 | 1. Put your tokens into ``tokens.txt`` 7 | 2. install all the imports, by pressing windows + r button and typing cmd 8 | 3. to install all requirements u need to pip install all the imports example: ``pip install requests`` 9 | 4. open ``main.py``, u can choose between a custom password or a random generated one 10 | 5. all new tokens will be written into ``new_tokens.txt`` all failed ones into ``failed.txt`` 11 | 12 | # **📹 Picture** 13 | ![Screenshot 2023-08-15 201418](https://github.com/TheKindDeveloper/DiscordTokenChanger/assets/129861526/3325796e-ae93-4f3f-b2f3-94072a7494ae) 14 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import requests 2 | import string 3 | import secrets 4 | from Dickscord import Style 5 | from pystyle import * 6 | import os 7 | 8 | "recoded https://github.com/fknMega/discord-token-changer, to make it unflagged and a few more options." 9 | 10 | def _CHECKER_(): 11 | os.system('title Bypass Token Changer ') 12 | custompass = Style.input("(#): Custom password [y/n]?: ") 13 | if custompass == "y": 14 | newpassx = Style.input("(#): New Password?: ") 15 | 16 | def generate_password(length=12): 17 | alphabet = string.ascii_letters + string.digits 18 | while True: 19 | password = ''.join(secrets.choice(alphabet) for i in range(length)) 20 | if ':' not in password and '@' not in password: 21 | break 22 | return password 23 | 24 | def export_tokens(): 25 | with open('tokens.txt', 'r') as f: 26 | tokens = f.readlines() 27 | tokens = [x.strip() for x in tokens] 28 | return tokens 29 | 30 | combo = export_tokens() 31 | 32 | class Dickcord_extension: 33 | def __init__(self): 34 | self.cookie = None 35 | self.fingerprint = None 36 | 37 | def get_cookies(self): 38 | response = requests.get("https://discord.com") 39 | self.cookie = response.cookies.get_dict() 40 | self.cookie['locale'] = "us" 41 | 42 | def request_fingerprint(self, headers): 43 | response = requests.get("https://discordapp.com/api/v9/experiments", headers=headers) 44 | self.fingerprint = response.json()["fingerprint"] 45 | 46 | def cookies(self): 47 | if self.cookie is None: 48 | Style.print("(!): Couldn't Fetch Cookies.") 49 | return self.cookie 50 | 51 | def get_fingerprint(self): 52 | if self.fingerprint is None: 53 | Style.print("(!): Couldn't Fetch Fingerprints.") 54 | return self.fingerprint 55 | 56 | def cookieshead(self): 57 | cookies_dict = self.cookies() 58 | return "; ".join([f"{key}={value}" for key, value in cookies_dict.items()]) 59 | 60 | def change_password(email, password, token): 61 | s = requests.Session() 62 | dickcord_extension = Dickcord_extension() 63 | dickcord_extension.get_cookies() 64 | cookies_header = dickcord_extension.cookieshead() 65 | headers = {'authorization': token, 66 | 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.58', 67 | 'origin': 'discord.com', 68 | 'accept': '*/*', 69 | 'accept-encoding': 'gzip, deflate, br', 70 | 'cookie': cookies_header, 71 | 'sec-ch-ua': '"Chromium";v="112", "Microsoft Edge";v="112", "Not:A-Brand";v="99"', 72 | 'x-discord-locale': 'de', 73 | 'sec-ch-ua-platform': 'Windows', 74 | 'x-debug-options': 'bugReporterEnabled', 75 | 'sec-fetch-mode': 'cors', 76 | 'sec-fetch-site': 'same-origin', 77 | 'sec-ch-ua-mobile': '?0', 78 | 'x-super-properties': 'eyJvcyI6IldpbmRvd3MiLCJicm93c2VyIjoiQ2hyb21lIiwiZGV2aWNlIjoiIiwic3lzdGVtX2xvY2FsZSI6ImRlIiwiYnJvd3Nlcl91c2VyX2FnZW50IjoiTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzExMi4wLjAuMCBTYWZhcmkvNTM3LjM2IEVkZy8xMTIuMC4xNzIyLjU4IiwiYnJvd3Nlcl92ZXJzaW9uIjoiMTEyLjAuMC4wIiwib3NfdmVyc2lvbiI6IjEwIiwicmVmZXJyZXIiOiIiLCJyZWZlcnJpbmdfZG9tYWluIjoiIiwicmVmZXJyZXJfY3VycmVudCI6IiIsInJlZmVycmluZ19kb21haW5fY3VycmVudCI6IiIsInJlbGVhc2VfY2hhbm5lbCI6InN0YWJsZSIsImNsaWVudF9idWlsZF9udW1iZXIiOjE5MzkwNiwiY2xpZW50X2V2ZW50X3NvdXJjZSI6bnVsbCwiZGVzaWduX2lkIjowfQ=='} 79 | 80 | s.get('https://discord.com/channels/@me', headers=headers) 81 | if custompass == "n": 82 | new = generate_password() 83 | else: 84 | new = newpassx 85 | 86 | payload = { 87 | 'password': password, 88 | 'new_password': new, 89 | } 90 | r = s.patch('https://discord.com/api/v9/users/@me', headers=headers, json=payload) 91 | new_token = r.json()['token'] 92 | if r.status_code == 200: 93 | Style.print(f"(+): Changed ({email}) → {new_token}") 94 | return f'1:{email}:{new}:{new_token}' 95 | if r.status_code == 403: 96 | Style.print(f"(!): Couldn't Change {email} → {token} is locked") 97 | if r.status_code == 401: 98 | Style.print(f"(!): Invalid token → {token}") 99 | else: 100 | Style.print(f"(!): Failed to change for → ({email})") 101 | return f'0:{email}:{password}:{token}' 102 | 103 | def main_thread(): 104 | for i in combo: 105 | email = i.split(':')[0] 106 | password = i.split(':')[1] 107 | token = i.split(':')[2] 108 | new_combo = change_password(email, password, token) 109 | if new_combo.split(':')[0] == '1': 110 | with open('new_tokens.txt', 'a') as f: 111 | f.write(new_combo.split(':')[1] + ':' + new_combo.split(':')[2] + ':' + new_combo.split(':')[3] + '\n') 112 | else: 113 | with open('failed.txt.txt', 'a') as f: 114 | f.write(new_combo.split(':')[1] + ':' + new_combo.split(':')[2] + ':' + new_combo.split(':')[3] + '\n') 115 | 116 | dsn = ''' 117 | ▄▄▄▄ ▓██ ██▓ ██▓███ ▄▄▄ ██████ ██████ 118 | ▓█████▄▒██ ██▒▓██░ ██▒▒████▄ ▒██ ▒ ▒██ ▒ 119 | ▒██▒ ▄██▒██ ██░▓██░ ██▓▒▒██ ▀█▄ ░ ▓██▄ ░ ▓██▄ 120 | ▒██░█▀ ░ ▐██▓░▒██▄█▓▒ ▒░██▄▄▄▄██ ▒ ██▒ ▒ ██▒ 121 | ░▓█ ▀█▓░ ██▒▓░▒██▒ ░ ░ ▓█ ▓██▒▒██████▒▒▒██████▒▒ 122 | ░▒▓███▀▒ ██▒▒▒ ▒▓▒░ ░ ░ ▒▒ ▓▒█░▒ ▒▓▒ ▒ ░▒ ▒▓▒ ▒ ░ 123 | ▒░▒ ░▓██ ░▒░ ░▒ ░ ▒ ▒▒ ░░ ░▒ ░ ░░ ░▒ ░ ░ 124 | ░ ░▒ ▒ ░░ ░░ ░ ▒ ░ ░ ░ ░ ░ ░ 125 | ░ ░ ░ ░ ░ ░ ░ 126 | ░░ ░ ''' 127 | print(Colorate.Horizontal(Colors.blue_to_cyan, Center.XCenter(dsn))) 128 | Style.print("(#): Press Enter to start.") 129 | input("") 130 | main_thread() 131 | 132 | _CHECKER_() 133 | Style.input("\n(#): Done Changing all Tokens.") 134 | -------------------------------------------------------------------------------- /tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheKindDeveloper/DiscordTokenChanger/f093869cb68c6784891852e02d7b9c76cca9b8e4/tokens.txt --------------------------------------------------------------------------------