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 hashes)

Uploaded Source

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