-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
60 lines (37 loc) · 1.19 KB
/
main.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
#this was made by fknMega on github
import requests
about = input("Enter your about me: ")
combotype = input("Enter a number to select combo type, 1 for combo (user:pass:token) or 2 for normal (token): ")
def change(token):
r = requests.Session()
# gets cookies (100% delicious 😋)
url = "https://discord.com/api/v9/experiments"
k = r.get(url)
# sends sex request
url = "https://canary.discord.com/api/v9/users/%40me/profile"
headers = {"accept": "/",
"authorization": token,
}
body = {"bio": about}
res = r.patch(url, headers=headers, json=body)
return res.status_code
f = open("tokens.txt", "r")
times = 1
for line in f:
token = ""
if combotype == "1":
token = line.split(":")[2].replace("\n", "")
else:
token = line.replace("\n", "")
res = change(token)
if res == 200:
print('+ Changed about me for: ' + token + ' - ' + str(times))
times= times+1
else:
if res == 401:
print('- Token is dead: ' + token)
else:
if res == 403:
print('- Token is banned: ' + token)
else:
print(res)