A multi-stage Python script obfuscator that transforms Python code into obfuscated and encrypted forms. Includes optional junk code injection, base64 encoding, hex manipulation, XOR encryption, and Fernet encryption.
Disclaimer: This tool is for educational purposes and testing code protection. Use responsibly.
Multi-stage obfuscation:
- Base64 encoding
- Hex transformation with character substitution
- XOR encryption with a random key
- Fernet encryption
- Compilation to
.pyc
- Optional Junk Code Injection: Adds meaningless functions to make reverse-engineering harder.
- Supports multiple obfuscation stages: Layers of transformations for better protection.
- Python 3.8+
- cryptography library
Install dependencies:
pip install cryptography