Skip to main content

A CLI tool to automatically detect and decode base-encoded strings.

Project description

Base Decryptor

A CLI tool to automatically detect and decode base-encoded strings.

Table of Contents

Features

  • Decode various base-encoded strings

  • Some of them are:

    • Base64
    • Base64 URL Safe
    • Base 16 (Hex)
    • Base 2 (Binary)
    • Base 8 (Octal)
    • Base 10 (Decimal)
    • Base32
    • Base36
    • Base45
    • Base58
    • Base62
    • Base85
    • Base91
    • Base92
    • Base100 (Emoji)
    • Base122
    • Base4096
    • UUEncode
  • CLI interface for ease of use.

  • Handles emoji in strings and decodes accordingly.

  • Displays decoded results in a user-friendly table format with color-coded output.

  • Error handling for decoding processes.

Installation

You can install the base-decryptor package via pip. Run the following command:

pip install base-decryptor

Usage

You can provide either a single encoded string or a file containing multiple encoded strings.

Command Line Options

base-decryptor [OPTIONS] [ENCODED_STRING]
Arguments
ENCODED_STRING: (Optional) A single base-encoded string that you want to decode.
Options
-f, --file <file>: Specify a file containing encoded strings. Each line in the file will be processed for decoding.

-a, --all: If this flag is set, the tool will attempt to decode the input using all supported encoding methods (Base36, Base45, Base58, Base91, Base92, Base100).

-q, --quiet: Suppress the ASCII banner and author message when running the tool.

Examples Decode a single encoded string:

base-decryptor "encoded_string_here"

Decode strings from a file:

base-decryptor --file encoded_strings.txt

Decode all encodings for a single string:

base-decryptor --all "encoded_string_here"

Decode all encodings from a file:

base-decryptor --file encoded_strings.txt --all

Run in quiet mode:

base-decryptor -q --file encoded_strings.txt

Help option

base-decryptor --help

Video

https://github.com/user-attachments/assets/1224e4a6-22a6-482d-b5e1-3ce367020847

Dependencies

The following packages are required:

base36==0.1.1
base4096==1.0
base45==0.4.4
base58==2.1.1
base91==1.0.1
base92==1.0.3
pybase100==0.3.1
click==8.1.7
colorama==0.4.6
emoji==2.14.0
pybase62==1.0.0
pycryptodome==3.20.0
pyfiglet==1.0.2
requests==2.32.3
rich==13.9.3
tabulate==0.9.0
yaspin==3.1.0

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

base_decrypter-0.2.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

base_decrypter-0.2.1-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file base_decrypter-0.2.1.tar.gz.

File metadata

  • Download URL: base_decrypter-0.2.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for base_decrypter-0.2.1.tar.gz
Algorithm Hash digest
SHA256 dfdd0246df70b6746e51ab331d6d3eb93d4cd867e15afc244967f7b09ad0b8b0
MD5 7b70c748f07c539cfd568eb89617cbde
BLAKE2b-256 0f4bf7c16d71a9aa3cfa0b30d81187c25ec4dafcdd5ee5abe977b36829df7f96

See more details on using hashes here.

File details

Details for the file base_decrypter-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: base_decrypter-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for base_decrypter-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb0456353ea7192c5eee5fb266e188fb32479c969899d87507de0c77fd4d9625
MD5 b1689a299f73a79a0e0253bf9e716a95
BLAKE2b-256 b378662fa93bdb925095f765f531e5fb0bd4bce29de5127a0dca4c8c4301c661

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page