Skip to main content

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!

Release files for decoder 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for decoder 0.5
File Size Uploaded
decoder-0.5.tar.gz 5.2 kB Details

Release files / decoder-0.5.tar.gz

Download URL decoder-0.5.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
655483a723081bd762ab9825b4643e08203f647003da9cb406eaaf702c1d6ba3
BLAKE2b-256 checksum
How to use checksums
ddb0f4495aaf30f80f97a6c73baf8fa0cef8f5b3df4e37930efa6f0127cda161
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page