BlankOBF
BlankOBF is a Python obfuscation tool designed to make Python programs harder to understand for casual users. It offers advanced obfuscation techniques and customization options, making it seamless to integrate into your development workflow.
Install / Use
/learn @Blank-c/BlankOBFREADME
BlankOBF (Version 2)
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.
Features
- Python Obfuscation: BlankOBF utilizes techniques to obscure Python code, making it less readable to human eyes.
- Customization: Offers various options to customize the obfuscation process, such as recursive obfuscation and inclusion of imports.
- Command-line Interface: Convenient command-line interface for easy integration into your development workflow.
Dependencies
- Python 3.10 or newer.
Usage
From command line:
python BlankOBFv2.py [-h] --input PATH [--output PATH] [--recursive N] [--include_imports]
- -h, --help: Show the help message and exit.
- --input PATH: Specify the input file to be obfuscated.
- --output PATH: Optional flag to specify the output filename for the obfuscated code.
- --recursive N: Optional flag to specify the depth of recursive obfuscation (default is 1).
- --include_imports: Optional flag to include imports in the obfuscated file.
From code:
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)
Note
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.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
107.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
347.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
