You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\sudo>pyarmor gen -O dist --assert-call foo.py
INFO Python 3.10.11
INFO Pyarmor 8.1.9 (trial), 000000, non-profits
INFO Platform windows.x86_64
NOTE: i got paid pyarmor 7
When i try to obfuscate my script with pyarmor advanced 2 (pyarmor-7 obfuscate --advanced=2 --exact main.py) everything's fine, obfuscated .py file runs normally without any issues, but when i try to compile it to exe via pyinstaller (auto-py-to-exe) it doesnt include any packages that are imported in original main.py. I tried to do --restrict=0 and putting imports at the top of obfuscated file, that worked, but decompiling .exe that was compiled with auto-py-to-exe is very simple, so people could easily manipulate stuff.
I tried almost everything, even switching version of python but nothing helped.
I dont know if this is pyinstaller issue, pyarmor issue, or my issue.
This discussion was converted from issue #1207 on May 02, 2023 23:23.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
NOTE: i got paid pyarmor 7
When i try to obfuscate my script with pyarmor advanced 2 (
pyarmor-7 obfuscate --advanced=2 --exact main.py
) everything's fine, obfuscated .py file runs normally without any issues, but when i try to compile it to exe via pyinstaller (auto-py-to-exe) it doesnt include any packages that are imported in original main.py. I tried to do--restrict=0
and putting imports at the top of obfuscated file, that worked, but decompiling .exe that was compiled with auto-py-to-exe is very simple, so people could easily manipulate stuff.I tried almost everything, even switching version of python but nothing helped.
I dont know if this is pyinstaller issue, pyarmor issue, or my issue.
Thank you in advance for your reply.
Sincerely:
$udo
Beta Was this translation helpful? Give feedback.
All reactions