-
Notifications
You must be signed in to change notification settings - Fork 32
/
TikTok-Checker-3v.py
155 lines (124 loc) · 6.03 KB
/
TikTok-Checker-3v.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
import requests
import json
import time
from colorama import Fore,init
from time import sleep
count=0
green_color = "\033[1;93m"
C = "\033[0m"
W = "\033[96m"
BRed="\033[1;31m"
Green="\033[0;36m"
Yellow="\033[0;33m"
print( green_color +'''
_______ _ _ _______ _ _____ _ _
|__ __(_) |__ __| | | / ____| | | |
| | _| | _| | ___ | | ________| | | |__ ___ ___| | _____ _ __
| | | | |/ / |/ _ \| |/ /______| | | '_ \ / _ \/ __| |/ / _ \ '__|
| | | | <| | (_) | < | |____| | | | __/ (__| < __/ |
|_| |_|_|\_\_|\___/|_|\_\ \_____|_| |_|\___|\___|_|\_\___|_|
==============================================
[developer] => FaLaH - 0xfff0800
[developer_snapchat] => flaah999
[Edting] => Wx
[insta] => oh.bx
[snap] => oh-bx
==============================================
''')
falah = input('''
1 - TikTok-Checker - username list
2 - TikTok-Checker - Suggestions
3 - TikTok-Checker - username list no sessionid
-> ''')
if falah =="3":
user = input ("username list: ")
print("")
print("Without the session ID, you will see the closed accounts available")
print("")
signature = "oKxAeAAgEBgX6bvJMQKua6CsQWAAP4r"
verifyFp = ""
referer = "https://www.tiktok.com/@0xfff0800"
password = open(user).read().splitlines()
# Back up one character, print a space to erase the spinner, then a newline
# so that the prompt after the program exits isn't on the same line as our
# message
for password in password:
url = "https://m.tiktok.com/node/share/user/@"+password+"/?count=30&id=1&type=5&secUid=&maxCursor=1&minCursor=0&sourceType=12&appId=1233" + \
"&verifyFp=" + verifyFp + \
"&_signature=" + signature
response = requests.request("GET",url, headers={"method": "GET",
"accept-encoding": "gzip, deflate, br",
"Referer": referer,
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"
})
post = str (response.json ()["userInfo"])
if 'user' in post:
count += 1
print(green_color+"{}: {}".format(count, W+password.strip())+BRed+" | غير متوفر ")
with open('accountfound.txt', 'a') as x:
x.write(password + '\n')
else:
count += 1
print(green_color+"{}: {}".format(count, W+password.strip())+Green+" | متوفر ")
print("________________")
print("")
exit()
if falah =="2":
dd = input ('username : ')
print (W + """│
└──=> { Extracting session id through Burp Suite Or from the Chrome browser } """)
sessionId = input (" "
" └──=> sessionid : ")
url = "https://www.tiktok.com/api/uniqueid/check/?region=SA&aid=1233&unique_id=" + dd + "&app_language=ar"
payload = ""
headers = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
"Connection": "close",
"Host": "www.tiktok.com",
"Accept-Encoding": "gzip, deflate",
"Cache-Control": "max-age=0"
}
cookies = {'sessionid': sessionId}
response = requests.request ("GET", url, data=payload, headers=headers, cookies=cookies)
post = str (response.json ()["recommended_unique_ids"])
print ("")
print (" -" * 15)
print ("")
print ('',post)
exit()
if falah =="1"or " ":
dd = input ('username list : ')
print (W + """│
└──=> { Extracting session id through Burp Suite Or from the Chrome browser } """)
sessionId = input(" "
" └──=> sessionid : ")
if dd =="1"or " ":
dd=""+dd+""
password = open(dd).read().splitlines()
# Back up one character, print a space to erase the spinner, then a newline
# so that the prompt after the program exits isn't on the same line as our
# message
for password in password:
url = "https://www.tiktok.com/api/uniqueid/check/?region=SA&aid=1233&unique_id="+password+"&app_language=ar"
payload = ""
headers = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36",
"Connection": "close",
"Host": "www.tiktok.com",
"Accept-Encoding": "gzip, deflate",
"Cache-Control": "max-age=0"
}
cookies = {'sessionid': sessionId}
response = requests.request ("GET", url, data=payload, headers=headers ,cookies=cookies)
post = str (response.json ()["status_msg"])
if post==""or"":
count += 1
print(green_color+"{}: {}".format(count, W+password.strip())+Green+" | متوفر ")
with open('accountfound.txt', 'a') as x:
x.write(password + '\n')
else:
count += 1
print(green_color+"{}: {}".format(count, W+password.strip())+BRed+" | غير متوفر ")
exit()