Skip to content

Python script for decoding Base64, Url Encoding and ROT encoding.

License

Notifications You must be signed in to change notification settings

secnonsense/decode.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decode.py

Python script for decoding Base64, Url Encoding and ROT encoding.

Switches can be used to decode a string (must use quotes if there are spaces in the string) or if no switch is supplied the script will attempt to guess the encoding type based on character-set and some math and will decode accordingly. If the string has multiple layers of encoding, it will continue to attempt decoding until it finds that there are no guesses or comes up with what it believes to be a best guess. This can lead to an infinite loop if output criteria continues to match possible encoding types.

-h help screen

usage: decode.py [-h] [-b] [-u] [-r] TEXT

positional arguments: TEXT Enter a string to decode in quotes

optional arguments: -h, --help show this help message and exit
-b, --base64 For base64 decoding
-u, --urldecode For URL decoding
-r, --ROTdecode For rot decoding

About

Python script for decoding Base64, Url Encoding and ROT encoding.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages