Open ghost opened 11 months ago
Here's a few things you could implement to improve your obfuscator a bit
Using Python's AST module for more advanced obfuscation for:
1+1
~(~(1 + 1) | ~(1 + 1)) | ~(~(1 + 1) | ~(1 + 1))
myfunction.__code__.co_code
And if you want to get really funky, why not write a virtual machine for evaluating your transformed python code?
Here's a few things you could implement to improve your obfuscator a bit
Using Python's AST module for more advanced obfuscation for:
1+1
into~(~(1 + 1) | ~(1 + 1)) | ~(~(1 + 1) | ~(1 + 1))
myfunction.__code__.co_code
and store it, then compare it at runtime)And if you want to get really funky, why not write a virtual machine for evaluating your transformed python code?