Skip to main content

A simple script to try and decode a string in various encoding mechanisms regardless of it's (original) type.

Project description

Decoder

Automating the Manual :)

made-with-python GitHub Contributors GitHub closed issues GitHub pull requests Twitter

image

A simple script to try and decode a string in various encoding mechanisms regardless of it's (original) type.

The one-liner doesn't make much sense right? Don't worry, I gotcha!

Let's say you've a string (you obtained from somewhere, maybe a boot2root machine, ctf, etc.), you know it's encoded (isn't a hash and is not encrypted) but just can't figure out the encoding mechanism used? No worries, this script will try and decode it in most used encoding mechanisms (i.e. base64, rot47, atbash, etc.)

Once the results come back, make sure to go through each and every line! That's all manual :3

The script for now only supports:

  • Base16
  • Base32
  • Base64
  • Base85
  • Atbash
  • Baconian
  • Caesar
  • Morse
  • Rot13
  • Rot47

Tested On (OS & Python version)

  • Ubuntu 20.04 LTS -- Python 3.8.5
  • Arch Linux -- Python 3.9.2

Downloading & Installation

pip3 install decoder 

OR

git clone https://github.com/Anon-Exploiter/decoder/
cd decoder/
python3 setup.py build 
python3 setup.py install

Usage

Decoding a string from directly from argument:

decoder -s 'uryyb'

Decoding a string from a file:

decoder -f rot47-encoded.txt

Todos

  • Add Colors
  • Utilize internal libraries to add all the decoding (rather than custom written code)

Filing Bugs/Contribution

Feel free to file a issue or create a PR for that issue if you come across any.

Screenshots

image

image

image

Contributors

Credits

Well this is shit work, any other tools which have the same functionality and actually work? Yes!

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

decoder-0.5.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file decoder-0.5.tar.gz.

File metadata

  • Download URL: decoder-0.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for decoder-0.5.tar.gz
Algorithm Hash digest
SHA256 655483a723081bd762ab9825b4643e08203f647003da9cb406eaaf702c1d6ba3
MD5 50e37fb7d5609b3251d8625a0d37e4f7
BLAKE2b-256 ddb0f4495aaf30f80f97a6c73baf8fa0cef8f5b3df4e37930efa6f0127cda161

See more details on using hashes here.

Supported by

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