hngocuyen/enjuly19 — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python tool like enjuly19 that obfuscates Python source files for Python 3.10 and newer. I want to give it a normal script, like one that just prints hello, and get back a new Python file that still runs the same but is extremely hard to read.

Use AST style rewriting where possible, rename things, hide strings and numbers, add confusing helper code, and include a full mode that makes the output look heavily scrambled like the README example. It should not break basic scripts, imports, functions, variables, or print and input usage.

Make it easy to run from the terminal by pointing it at an input file and choosing an output file. If the user is on the wrong Python version, show a clear message instead of crashing. Include a small example folder with an original hello script and the obfuscated result so I can quickly test it. Keep everything in plain Python and make the code readable enough for me to tweak later.

Want more depth? Deep Reverse