
Originally Posted by
Cyaegha
Things wrong with this:
1. Making a fuck ton of globals.
2. Using stupidly long var names.
3. Using readable characters instead of zero width characters.
4. All you do to obfuscate the actual code is reverse it and convert it to decimal.
5. All you need to do is '
CompileString = function(c, n, e) return function() print(c) end end' to get the actual code.
6. A more complex way of deobfuscation would be to just convert all the decimal to characters and then you could just read the code yourself.
7. 'Lua Obfuscator by Finn'
Overall this obfuscator is pretty lame. If anybody that knows a fair bit of Lua sees one of these obfuscated scripts they'll know how to deobfuscate it. You should take a look at
proper obfuscation.
The "Lua Obfuscator by Finn" thingy was never meant to be left in, actually I left it for debugging purposes.
Other than that, you are correct. Thank you for not insulting immediantly, but rather giving useful feedback!
Sadly there's no good ways to obfuscate Lua I'm aware of, but I am trying another technique later today.
//Edit:
1. Made them local.
2. They're used to you're having a hard time to deobfuscate it via hand.
3. Correct, will fix.
4. Added some more stuff.
5. Fixed.
6. That's why there's the long var names.
7. Removed, as I said, wasn't meant to be left.