https://github.com/jacopodl/reveal
Recursive string decoder :crystal_ball:
https://github.com/jacopodl/reveal
decoders strings-manipulation
Last synced: 11 months ago
JSON representation
Recursive string decoder :crystal_ball:
- Host: GitHub
- URL: https://github.com/jacopodl/reveal
- Owner: jacopodl
- License: gpl-3.0
- Created: 2019-03-27T11:21:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-10T19:47:36.000Z (about 7 years ago)
- Last Synced: 2025-01-31T11:28:55.456Z (over 1 year ago)
- Topics: decoders, strings-manipulation
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# Reveal #
This is a experimental tool to recursive detect and decode encoded strings, it's also can encode strings recursively.
## Installation
Reveal package can be installed through following procedure:
$ git clone https://github.com/jacopodl/reveal
$ cd reveal
$ python setup.py install
## Usage ##
Let's take this encoded string:
ODIsNDksODYsOTcsODEsNDgsNzAsNzksODEsMTA4LDkwLDcwLDgxLDg0LDc0LDg1LDg0LDg1LDEwOCw2Nyw4Niw4NSwxMDAsODYsODUsODUsODIsNzQsODQsODUsMTEyLDY2LDgyLDQ5LDc0LDgzLDg1LDg0LDQ4LDU3LDgwLDg0LDQ4LDYx
and supply it to revel:
$> reveal "ODIsNDksODYsOTcsODEsNDgsNzAsNzksODEsMTA4LDkwLDcwLDgxLDg0LDc0LDg1LDg0LDg1LDEwOCw2Nyw4Niw4NSwxMDAsODYsODUsODUsODIsNzQsODQsODUsMTEyLDY2LDgyLDQ5LDc0LDgzLDg1LDg0LDQ4LDU3LDgwLDg0LDQ4LDYx"
b64 -> n2c -> b64 -> b32 -> hex = REVEAL
Encode with: hex,b32,b64,n2c,b64
Reveal automatically detects the encoding formats and decodes it recursively.
If option --quiet was not provided, Reveal also print a list of used decoders, in this way you can use this list with --encode option to re encode string to original encoded format.
$> reveal --encode hex,b32,b64,n2c,b64 "REVEAL"
ODIsNDksODYsOTcsODEsNDgsNzAsNzksODEsMTA4LDkwLDcwLDgxLDg0LDc0LDg1LDg0LDg1LDEwOCw2Nyw4Niw4NSwxMDAsODYsODUsODUsODIsNzQsODQsODUsMTEyLDY2LDgyLDQ5LDc0LDgzLDg1LDg0LDQ4LDU3LDgwLDg0LDQ4LDYx
## Support ##
Supported encoders/decoders
- base32
- base64
- hex (space separated hex: 67 69 75 6c 69 61 ...)
- n2c (ascii to comma separated numbers: 106,97,99,111,112,111,...)
- urlEncoding
- jwt