Automating the Manual :)
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
- Ubuntu 20.04 LTS -- Python 3.8.5
- Arch Linux -- Python 3.9.2
pip3 install decoder
OR
git clone https://github.com/Anon-Exploiter/decoder/
cd decoder/
python3 setup.py build
python3 setup.py install
Decoding a string from directly from argument:
decoder -s 'uryyb'
Decoding a string from a file:
decoder -f rot47-encoded.txt
Add Colors- Utilize internal libraries to add all the decoding (rather than custom written code)
Feel free to file a issue or create a PR for that issue if you come across any.
- @thehackersbrain - #2 - Coloring output and refactoring whole code base!
- Big thanks to autodecoder (was a lot of help while writing this)
- Thanks to @thehackersbrain's Blogger machine which made me write this