mehCake/luraph-deobfuscator-py ? reverse-engineered prompt

Reverse engineered prompt

Help me turn this into a working Lua deobfuscator for scripts protected with Luraph and Luarmor style obfuscation.

I want a simple command line tool that can take an obfuscated Lua file, detect the protection style when possible, and output something much more readable. It should try to recover strings, constants, variables, and basic control flow, and use the little Lua VM and devirtualization pieces here to make progress on custom bytecode traces. If a full deobfuscation is not possible, I still want clear partial results and useful logs instead of crashing.

Please make the current code actually run end to end, clean up anything broken, and keep the project easy to extend. If you need to check current docs or examples online, go ahead. I’d also like a couple of example inputs and a straightforward way to test the output so I can see that it’s improving on the sample obfuscated files already in the repo.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab