BlankOBF is a tool designed to obfuscate Python programs, making them more challenging to understand for casual user. Please note that while obfuscation can deter casual users, determined individuals can still reverse engineer the code with effort. It's essential to understand that obfuscation does not provide security but rather adds a layer of complexity.
python BlankOBFv2.py [-h] --input PATH [--output PATH] [--recursive N] [--include_imports]
from BlankOBFv2 import BlankOBFv2
# Your Python code to obfuscate
code_to_obfuscate = """
def hello_world():
print("Hello, world!")
hello_world()
"""
# Instantiate BlankOBFv2 with your code
obfuscator = BlankOBFv2(code=code_to_obfuscate, include_imports=False, recursion=1)
# Obfuscate the code
obfuscated_code = obfuscator.obfuscate()
# Print or use the obfuscated code as needed
print(obfuscated_code)
Keep in mind that while obfuscation can add a layer of complexity to your code, it's not a substitute for proper security measures. Always implement robust security practices to protect your intellectual property and sensitive data.
This project is licensed under the MIT License - see the LICENSE file for details.