-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAIO.py
110 lines (95 loc) · 3.51 KB
/
AIO.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import os, requests, random, json, threading
from colorama import Fore
email = [
"fbi.gov",
"supremecourt.gov",
"gmail.com",
"yahoo.com",
"discord.com",
"spotify.com",
"mail.com",
]
url = "https://spclient.wg.spotify.com/signup/public/v2/account/create"
os.system("cls && title Spotify AIO")
def center(var: str, space: int = None): # From Pycenter
if not space:
space = (
os.get_terminal_size().columns
- len(var.splitlines()[int(len(var.splitlines()) / 2)])
) / 2
return "\n".join((" " * int(space)) + var for var in var.splitlines())
class AIO:
def GetEmail():
semail = str(random.randint(11111111, 99999999)) + "@" + random.choice(email)
return semail
def GetGender():
genders = ["Female", "Male"]
return random.choice(genders)
def CreateAccount():
with open("proxies.txt", encoding="utf-8") as f:
proxies = [i.strip() for i in f]
working = 0
notworking = 0
while True:
proxy = random.choice(proxies)
os.system(f"title Spotify AIO Working: {working} Invalid: {notworking} ")
napkin = AIO.GetEmail()
payload = json.dumps(
{
"account_details": {
"birthdate": "1999-09-02",
"consent_flags": {
"eula_agreed": True,
"send_email": True,
"third_party_email": False,
},
"display_name": "AIO",
"email_and_password_identifier": {
"email": napkin,
"password": "Spotify!AIO123",
},
"gender": 1,
},
"callback_uri": "https://www.spotify.com/signup/challenge?forward_url=https%3A%2F%2Fopen.spotify.com%2F&locale=uk",
"client_info": {
"api_key": "a1e486e2729f46d6bb368d6b2bcda326", # Stay
"app_version": "v2",
"capabilities": [1],
"installation_id": "",
"platform": "www",
},
"tracking": {
"creation_flow": "",
"creation_point": "https://www.spotify.com/uk/",
"referrer": "",
},
}
)
xxx = requests.post(
url, data=payload, proxies={"http": "http" + "://" + proxy}
)
if xxx.status_code == 200:
print(
center(
f"{Fore.GREEN} Email: {napkin}:Spotify!AIO123 {Fore.YELLOW}Gender: {AIO.GetGender()} {Fore.RED}PROXY: {proxy} {Fore.RESET}"
)
)
working += 1
else:
print(center(f" {Fore.RED} Email: {napkin} Didnt work. {Fore.RESET}"))
notworking += 1
if __name__ == "__main__":
print(
center(
f"""\n\n
{Fore.LIGHTGREEN_EX}
╔═╗┌─┐┌─┐┌┬┐┬┌─┐┬ ┬
╚═╗├─┘│ │ │ │├┤ └┬┘
╚═╝┴ └─┘ ┴ ┴└ ┴
{Fore.RESET}
Spotify AIO x Payflow
"""
)
)
while True:
AIO.CreateAccount()