From dd2a031084976f3a26a6f0b2c61a60d1da4916f8 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 15 Jul 2023 19:16:58 -0400 Subject: [PATCH] misc: no longer leaking an (invalidated) api key --- pterodactyl/ptero.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 1236077..0f12a7c 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -267,14 +267,3 @@ class Pterodactyl(commands.Cog): else: send = f"Configuration changed:\n{message}" await interaction.response.send_message(send, ephemeral=True) - - -import requests -headers = { - "Authorization": "Bearer ptlc_9BVTvT41F7mNtG7YIqaxhOySf4Z8YDmVYwaITwwIbA7", - "Content-Type": "application/json", - "Accept": "Application/vnd.pterodactyl.v1+json" -} -request = requests.get("https://mc.bloom.host/api/client/servers/d6d05b41-4da5-4c5b-9ee6-6e25f61a596b/startup", headers=headers) -request_dict = request.json() -print(request_dict)