Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Bash Script Obfuscator

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.


Overview

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

Requirements

  • Python 3.x
  • Bash (Linux/macOS)

Usage

Paste input

python3 obfuscate.py < input.sh > obf.sh

File input

python3 obfuscate.py < ~/Downloads/test.sh > obf.sh

Make executable

chmod +x obf.sh

Security Disclaimer

This 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

Recommendations

For stronger protection:

  • Combine with compiled wrappers (e.g., native binaries)
  • Use restricted execution environments
  • Avoid embedding sensitive secrets in scripts

License

Use at your own risk. No guarantees of security or protection.


About

Simple Bash obsuficator written in python.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages