A collection of progressively stronger obfuscators for Bash scripts. These tools are designed to make scripts harder to read and analyze while keeping output fully text-based and copy-pastable.
This project provides multiple versions of a Bash obfuscator with increasing complexity:
| Version | Features |
|---|---|
| v1 | Basic encoding + wrapper |
| v2 | Readable output + chunking |
| v3 | Anti-debugging |
- Python 3.x
- Bash (Linux/macOS)
python3 obfuscate.py < input.sh > obf.shpython3 obfuscate.py < ~/Downloads/test.sh > obf.shchmod +x obf.shThis project provides obfuscation, not encryption security.
Anyone with sufficient knowledge can:
- Intercept runtime execution
- Modify the script to reveal the payload
- Reverse encoding layers
These tools are intended for:
- Deterring casual inspection
- Protecting readability, not secrecy
For stronger protection:
- Combine with compiled wrappers (e.g., native binaries)
- Use restricted execution environments
- Avoid embedding sensitive secrets in scripts
Use at your own risk. No guarantees of security or protection.