HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dcode — Recursively detect and decode strings, supporting hex, decimal, binary, base64, URL, FromChar encodi

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandstringsdcodeanddetectclidecoderecursively

Problem

How to use the dcode command: Recursively detect and decode strings, supporting hex, decimal, binary, base64, URL, FromChar encodings, Caesar ciphers, and MD5, SHA1, and SHA2 hashes. Warning: uses 3rd-party web services for MD5, SHA1, and SHA2 hash lookups. For sensitive data, use -s to avoid these services. More information: <https://github.com/s0md3v/Decodify>.

Solution

dcode — Recursively detect and decode strings, supporting hex, decimal, binary, base64, URL, FromChar encodings, Caesar ciphers, and MD5, SHA1, and SHA2 hashes. Warning: uses 3rd-party web services for MD5, SHA1, and SHA2 hash lookups. For sensitive data, use -s to avoid these services. More information: <https://github.com/s0md3v/Decodify>.

Recursively detect and decode a string:
dcode "{{NjM3YTQyNzQ1YTQ0NGUzMg==}}"


Rotate a string by the specified offset:
dcode -rot {{11}} "{{spwwz hzcwo}}"


Rotate a string by all 26 possible offsets:
dcode -rot {{all}} "{{bpgkta xh qtiitg iwpc sr}}"


Reverse a string:
dcode -rev "{{hello world}}"

Code Snippets

Recursively detect and decode a string

dcode "{{NjM3YTQyNzQ1YTQ0NGUzMg==}}"

Rotate a string by the specified offset

dcode -rot {{11}} "{{spwwz hzcwo}}"

Rotate a string by all 26 possible offsets

dcode -rot {{all}} "{{bpgkta xh qtiitg iwpc sr}}"

Reverse a string

dcode -rev "{{hello world}}"

Context

tldr-pages: common/dcode

Revisions (0)

No revisions yet.