It's a python obfuscator.
Project description
Python-Obfuscator
One night I got bored of writing good code, so I made good code to make bad code.
Consider sponsoring me here
Installing
pip install python-obfuscator
Quickstart
Print out obfuscated code
pyobfuscate -i your_file.py
Apply changes to the input file
pyobfuscate -i your_file.py -r True
More Detailed Documentation
You can use this as a module if you want
import python_obfuscator
obfuscator = python_obfuscator.obfuscator()
code_to_obfuscate = "print('hello world')"
You can also exclude certain techniques applied for obfuscation
import python_obfuscator
from python_obfuscator.techniques import add_random_variables
obfuscator = python_obfuscator.obfuscator()
code_to_obfuscate = "print('hello world')"
obfuscated_code = obfuscator.obfuscate(code_to_obfuscate, remove_techniques[add_random_variables])
Find a list of all techniques here
Example Obfuscated Code
Input
y = input("what's your favorite number")
user_value = int(y)
print("{} that's a great number!".format(user_value))
Built With
- Python 3.7 - The web framework used
Authors
- David Teather - Initial work - davidteather
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python_obfuscator-0.0.2.tar.gz
.
File metadata
- Download URL: python_obfuscator-0.0.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2550faa80b076cb32a310b2ac203c996942856c57e3753019a41dc37ce9814b |
|
MD5 | 14c4cbc81d5d86e9548cdbf772cb8ff8 |
|
BLAKE2b-256 | e4b9f4a5cf794e1f11b7b10d47b0fb1f01db091c4c88b2f46787c7a1eefd8261 |