Coding Global Background
Coding Global

Python Obfuscator, perfect to make your code unreadable!

Archived 2 years ago
14 messages
1 members
Created 2 years ago
Updated 2 years ago
Open in Discord
B
blueschnabeltier
I made a little Python OBF, enjoy!
from requests import post
from bs4 import BeautifulSoup

def aes256_obf(code: str) -> str:
    html = post("https://pyobfuscate.com/pyd", data={"input_text": code}).text
    soup = BeautifulSoup(html, "html.parser")
    obf_code = "\n".join(line for line in soup.select_one("#myTextarea2").text.splitlines()[2:][:-1])

    return obf_code

code = """
print("1")
print("2")
print("3")
"""
obf_code = aes256_obf(code)

# Prints the code
print(code)

# Runs the code
exec(code)

# Prints the obfuscated code
print(obf_code)

# Runs the obfuscated code
exec(obf_code)

Requirements for Obfuscator:
bs4

Requirements for Obfuscator & People who run the code:
requests pycryptodome

Replies (14)