Here are the steps on how to hide the python scripts using pyobfuscate package:
Steps:
Steps:
- Get the source distribution from git.
- Enter into the pyobfuscate directory.
$ cd pyobfuscate
The above step will install pyobfuscate binary executable file in /usr/bin.
- Install pyobfuscate package
The above step will install pyobfuscate binary executable file in /usr/bin.
Considering the actual python file is in /home/Desktop/userfile.py.
- Run command:
$ ./pyobfuscate '/home/Desktop/userfile.py' > /home/Documents/obfuscate.py
- Go to the path where obfuscate.py is created.
$ cd /home/Documents/
- Allow execute permission for others to obfuscate.py
- Run the obfusacte.py, the interpreter will be able to interpret the script.
No comments:
Post a Comment