Decoder
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
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
Contributors
- @thehackersbrain - #2 - Coloring output and refactoring whole code base!
Credits
- Big thanks to autodecoder (was a lot of help while writing this)
- Thanks to @thehackersbrain's Blogger machine which made me write this
Well this is shit work, any other tools which have the same functionality and actually work? Yes!
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| decoder-0.5.tar.gz | 5.2 kB | Without provenance | Details for decoder-0.5.tar.gz |
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
|
Security for decoder 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.