Decode24 is a command-line tool written in Python that allows you to decode encoded strings using different encoding types such as base64, hex, and URL encoding. It provides a simple and convenient way to decode strings and supports error handling for invalid encodings.
-
Clone the repository:
git clone https://github.com/24bkdoor/decode24.git
-
Navigate to the
decode24
directory:cd decode24
-
Install the required dependencies using pip:
Python and Python3 were tested
-
Make the script executable:
chmod +x decode24.py
To use decode24, follow these steps:
-
Run the script:
./decode24.py
-
Enter the encoded string you want to decode when prompted. For example:
Enter an encoded string to decode: {STRING}
-
Enter the encoding type (base64, hex, url) when prompted. For example:
Enter the encoding type (base64, hex, url): base64
-
The decoded string or an error message will be displayed based on the provided input.
Here are some examples to help you get started:
-
Decoding a base64-encoded string:
Enter an encoded string to decode: {STRING} Enter the encoding type (base64, hex, url): base64
-
Decoding a hex-encoded string:
Enter an encoded string to decode: {STRING} Enter the encoding type (base64, hex, url): hex
-
Decoding a URL-encoded string:
Enter an encoded string to decode: {STRING} Enter the encoding type (base64, hex, url): url
Contributions are welcome!