Skip to content

FajarKim/bz2-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BZSH Logo

BZip2 Shell Exec

🛠️ Simple encryption Shell scripts to BZip2 format

Report Bug · Request Feature · Ask Question

Indonesia · 한국어

Version Star Forks Issue Open PRs Open Download

Description

BZip2 Shell Exec is a specially designed tool, where when run, this tool will encrypt or compress all shell file strings into BZip2 format without needing to worry about being recoded or taken by someone else. Files that have been encrypted will still be able to be executed with shell language commands. The types of shell languages ​​supported are Bourne Shell (sh), Bourne Again Shell (bash), Z Shell (zsh), Korn Shell (ksh), and MirBSD Korn Shell (mksh).

Note

The more lines in a file, the longer it takes to encrypt.

Warning

This tool may be incompatible or not supported on some Linuxes, such as on Ultrix.

Installation Instructions

Termux

Here is how to install BZip2 Shell Exec in Termux app!

  • pkg update -y && pkg upgrade -y
  • pkg install git bzip2 xz-utils curl -y
  • git clone https://github.com/FajarKim/bz2-shell
  • cd bz2-shell

Then, run the file bzsh.sh to start encrypting the shell file.

  • bash bzsh.sh --help

If you want to install it to the $PATH folder, just run the install.sh file located in the tools/Termux folder.

  • tools/Termux/install.sh
    or
  • cd tools/Termux && bash install.sh

If installed successfully, run the command:

  • bzsh --help

You can also use this method:

Method
Command
curl
pkg install curl
bash -c "$(curl -fsSL https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Termux/install.sh)"
wget
pkg install wget
bash -c "$(wget -qO- https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Termux/install.sh)"
fetch
pkg install fetch
bash -c "$(fetch -o - https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Termux/install.sh)"

As an alternative, you can first download the install.sh script and run it afterwards:

  • pkg install wget
  • wget https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Termux/install.sh
  • bash install.sh

Linux

Here is how to install BZip2 Shell Exec on Linux (like Ubuntu)!

  • apt update -y && apt upgrade -y
  • apt install git bzip2 xz-utils curl -y
  • git clone https://github.com/FajarKim/bz2-shell
  • cd bz2-shell

Then, run the file bzsh.sh to start encrypting the shell file.

  • bash bzsh.sh --help

If you want to install it to the $PATH folder, just run the install.sh file located in the tools/Linux folder.

  • tools/Linux/install.sh
    or
  • cd tools/Linux && bash install.sh

If installed successfully, run the command:

  • bzsh --help

You can also use this method:

Method
Command
curl
apt install curl
bash -c "$(curl -fsSL https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Linux/install.sh)"
wget
apt install wget
bash -c "$(wget -qO- https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Linux/install.sh)"
fetch
apt install fetch
bash -c "$(fetch -o - https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Linux/install.sh)"

As an alternative, you can first download the install.sh script and run it afterwards:

  • apt install wget
  • wget https://raw.githubusercontent.com/FajarKim/bz2-shell/master/tools/Linux/install.sh
  • bash install.sh

Instructions for Use

This tool is programmed to be run with several commands. Supported commands:

Command
Description
-h or --help
Display this help
-v or --version
Output version information
--upgrade
Upgrade version this tool
--uninstall
Uninstall this tool
-t or --type-shell
Select a type shell (sh, bash, zsh, ksh, or mksh)
-f or --file
Compress each FILE instead it

How to run this tool:

Example 1

bzsh.sh -t bash -f FILE

or

bzsh.sh --type-shell bash --file FILE

Example 2

If you want to encrypt more than 1 file at the same time, you can do that.

bzsh.sh -t bash -f FILE1 FILE2 FILE3 etc...

or

bzsh.sh --type-shell bash --file FILE1 FILE2 FILE3 etc...

License

BZip2 Shell Exec is released under the AGPL-3.0 license, which grants the following permissions:

  • Commercial use
  • Modification
  • Distribution
  • Patent use
  • Private use

For more convoluted language, see the LICENSE.

Social Media and Contact

Facebook Instagram WhatsApp Telegram Twitter TikTok YouTube Messenger Email

Follow my social media!

Donate

Love the project? Please consider donating to help it improve!

GitHub Sponsor PayPal Donate Buy Me a Coffee Trakteer.id Donate

Are you considering supporting the project by donating to me? Please DO NOT!!

Please visit this link and make a small donation to help the people in need. A small donation goes a long way. ❤️

Similar Repositories

Free:

Paid (For Sponsor):

Made with ❤️ and Shell

Copyright © 2022-present Rangga Fajar Oktariansyah

License