-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obfuscated python scripts include object names, string etc. in clear text. #5
Comments
In pyarmor 3.2.0, only co_code is obfuscated, co_names and co_const is separated saved in .pyc file. So they're clear text. On the other word, only code segment is obfuscated, part of data segment, that is, literal constants in source is not obfuscated. To solve this issue, pyarmor will introduce a new feature as the following How to obfuscate python script
By this way, no any literal source constant is in the "foo.pyc", then How to import obfuscated script
UsageObfuscate whole module as above by mode 5
Obfuscate both whole module and each code object by mode 6
Although it has been implemented in Pyarmor 3.2.1, but it hasn't been full test. |
In the minor version Pyarmro 3.3.0, there are 2 new modes: 7, 8. The default mode is 8.
Both of modes generate obfuscated scripts as the following:
And save as a common python script, so it can be used in normal way. |
After encrypting a module it doesn't seem to be encrypted. Looking at the binary source, I still find all object names, strings etc. in clear text. Is that the intended behaviour?
The text was updated successfully, but these errors were encountered: