Shell code converter
Project description
Packages
My list of APT and Twine packages
Shell_Don
This project provides a Python script to encode and decode shell commands in various formats. This is a command-line interface (CLI) script. There is a GUI available in another method below.
Features
- Encode shell commands to:
- Hexadecimal
- Base64
- URL encoding
- HTML encoding
- JSON encoding
- Markdown encoding
- Binary encoding
- Substitution cipher
- Generate decoding commands for each encoded format
- Preview decoding commands without executing them
- Custom decoding commands
Installation
Ensure you have Python 3.x.x installed. Then, install the required packages with:
sudo dpkg -i shell_don.deb
pip install shell-don
pip install -r requirements.txt
For the GUI version:
git clone https://github.com/DeadmanXXXII/Shell_Don.git
Usage
There are two ways to use this with a GUI which has nmore features ot the CLI for quick on the go access:
GUI Script
To launch the GUI:
Copy code
python gui_script.py --gui
CLI Script for packages
To use the CLI script:
shell_don <command> <substitution_key> [--preview] [--custom-decoding <command>]
Arguments:
: The shell command to encode. <substitution_key>: The substitution cipher key (0-61).
Options:
--preview: Preview the decoding commands without executing them. --custom-decoding : Custom decoding command. Overrides default decoding commands.
Examples:
Encode a command with the GUI:
Run the script with the --gui flag. Enter your shell command and substitution key. Click "Generate" to see the encoded formats and decoding payloads.
Encode a command with the CLI:
shell_don "ls -la" 3 --preview
This will encode the command ls -la with a substitution key of 3 and display the decoding commands.
License This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements: Built by DeadmanXXXII.
Note
You can now use these scripts for encoding and decoding shell commands with both a graphical interface and command-line interface.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ShellDonX-0.1.2.tar.gz.
File metadata
- Download URL: ShellDonX-0.1.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
702df324184a5bfc43595a20f87ae880c2cabdfa6d4de6c36d7d0b4773bdb536
|
|
| MD5 |
cba5d771c688c0591476e85258af7d2d
|
|
| BLAKE2b-256 |
e8760937bb8de2ba2cd1dcc8a8811a1b9e1a79049e84c74bfddb0b692f258f8f
|
File details
Details for the file ShellDonX-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ShellDonX-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a2a97bf82f3f0b5938f064b558766fd72f4fd681d97e2392743a3a43378706c
|
|
| MD5 |
47f1c59f681b508f0dae973e8b328d8b
|
|
| BLAKE2b-256 |
da578a8d2d052bda2830564f856dad3235f19fdaaed9960f57532356edeab798
|