This commit is contained in:
exploits 2022-04-03 20:43:40 -04:00 committed by GitHub
commit 52069d3a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 10 deletions

1
logins.txt Normal file
View File

@ -0,0 +1 @@

26
main.py
View File

@ -1,12 +1,15 @@
import requests, os import requests, os
from colorama import Fore, init from colorama import Fore, init
def pse(): import random
os.system('pause') import string
pse()
source = string.ascii_letters + string.digits
init() init()
username = input(f'{Fore.LIGHTMAGENTA_EX}Username: {Fore.RESET}')
email = input(f'{Fore.LIGHTMAGENTA_EX}Email: {Fore.RESET}') username = ''.join((random.choice(source) for i in range(12)))
password = input(f'{Fore.LIGHTMAGENTA_EX}Password: {Fore.RESET}') email = (f'{username}') + "@" + "gmail.com"
password = ''.join((random.choice(source) for i in range(16)))
resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account", data={ resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account", data={
"birth_day": "1", "birth_day": "1",
@ -40,13 +43,16 @@ resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account",
}) })
if "login_token" in resp.text: if "login_token" in resp.text:
print(f'{Fore.LIGHTGREEN_EX}Account Created\nLogin: {Fore.LIGHTMAGENTA_EX}{username}:{Fore.LIGHTMAGENTA_EX}{password}\nResponse: {resp.text}') with open('logins.txt', 'a') as f:
pse() f.write(f'{email}:{username}:{password}')
f.write('\n')
print(f'{Fore.LIGHTGREEN_EX}Account Created\n ')
elif "That email is already" or "Invalid Email" in resp.text: elif "That email is already" or "Invalid Email" in resp.text:
print(f'{Fore.LIGHTRED_EX}You got an error! Please try using a different email\nResponse: {resp.text}') print(f'{Fore.LIGHTRED_EX}You got an error! Please try using a different email\nResponse: {resp.text}')
pse() exit()
else: else:
print(f'{Fore.LIGHTRED_EX}You got an error! Try with a different username and/or disable your proxy/VPN. If that doesn\'t work, please open issue on GitHub \nResponse: {resp.text} \n {resp.status_code}') print(f'{Fore.LIGHTRED_EX}You got an error! Try with a different username and/or disable your proxy/VPN. If that doesn\'t work, please open issue on GitHub \nResponse: {resp.text} \n {resp.status_code}')
pse() exit()