However, if your ultimate goal is to obfuscate your python code, but also package all the modules used by the code into one binary or executable so that your users wont have to worry about getting, downloading, installing and configuring dependencies, then, yes, you could use PyInstaller for that.īe aware though that, introducing pyinstaller into the mix means the execution time of the final script could be higher than the unprotected version of it.JavaScript code works in web browsers of users and is available to them for analysis and other actions. The protection provided by the AtShai obfuscator is more than sufficient to satisfy that objective. However, before deciding to add pyinstaller to the equation, it's important to revisit your reasons for code protection.įor instance, if your main objective is to ensure that your python code cannot be tampered with, and that it is well protected and can't be easily hacked into, then, you don't need PyInstaller. bat/.sh scripts for you to run to convert your obfuscated scripts into either a binary or an executable. For your convenience, we include automated. And if this is the case here, the obfuscated script will fail to function, and might even self-destruct if it cannot remotely validate itself.Whenever a python script is obfuscated with the satelite feature enabled, that means the author/developer wishes to retain tight control over the usage of the script.You're attempting to execute a satelite enabled obfuscated python script on a host without internet connectivity. If you obfuscated your python script with the 'secureimport' setting enabled, then tried to 'include' or 'require' it from an unprotected script, you will be confronted with an error message.You're attempting to import an obfuscated python script from within a non-obfuscated plain text script.If this is the case, you'll get an error alerting you about the issue.You're running the obfuscated python script on a host on which you configured it not to run on.If this is the case, you'll need to get the fresh copy of the obfuscated script from the zip file that it came in OR just undo the unauthorized changes.adding/removing text from it, script name was changed, script was put through a debugger The obfuscated python script was altered in one way or other.i.e.If this is the case, you'll need to fix that first before re-submitting to the python obfuscator.The plain text version of the python script (which you submitted) is buggy and does not work. If during execution of a protected Python script, we sense that it has been maliciously altered, we will cause the script to abort, and self destruct!Īn obfuscated python code will fail to execute if any of the following conditions are true: As such, we built in some defensive capabilities in all obfuscated Python scripts to combat this very real possibility. We understand once an obfuscated Python script is sent out into the wild, anyone can try all sorts of hacks on it.
0 Comments
Leave a Reply. |