truvami Payload Decoder Tool
truvami Decoder is a command-line interface (CLI) tool written in Go for decoding truvami payloads. This reference implementation supports various payload types, including Nomad XS and different Tag formats. đ ī¸
đŦ Demoâ
Check out this demo to see truvami Decoder in action! đ
đ Featuresâ
- đ Payload Decoding: Decode Nomad XS, Tag S/L, and Tag XL payloads with ease.
- đ Flexible Output: Choose between standard console output and JSON format.
- đ ī¸ Debugging & Verbosity: Enable debugging and verbose output for detailed insights.
đĻ Installationâ
đ§ Binariesâ
You can install the truvami Decoder binary easily using the following command:
# This will install the binary at $(go env GOPATH)/bin/decoder
curl -sSfL https://raw.githubusercontent.com/truvami/decoder/main/install.sh | sh -s -- -b $(go env GOPATH)/bin
# â
Verify the installation by checking the help
decoder --help
đĨī¸ Windowsâ
For Windows users, you can install the truvami Decoder binary using Chocolatey:
# Install using Chocolatey
choco install truvami-decoder
# â
Verify the installation by checking the help
decoder --help
đ ī¸ Usageâ
truvami Decoder provides a variety of commands and options to help you decode payloads efficiently. Below is an overview of the available commands and flags.
đī¸ Basic Command Structureâ
decoder [command] [flags]
đ Available Commandsâ
completion
- đī¸ Generate the autocompletion script for the specified shell.help
- âšī¸ Display help information about any command.nomadxs
- 𧊠Decode Nomad XS payloads.tagsl
- đˇī¸ Decode Tag S / L payloads.tagxl
- đˇī¸ Decode Tag XL payloads.
đŠ Global Flagsâ
-d, --debug
- đ Display debugging output in the console. (default: false)-h, --help
- âšī¸ Display help information.-j, --json
- đ Output the result in JSON format. (default: false)-v, --verbose
- đĸ Display more verbose output in the console. (default: false)
đĄ Example Usageâ
# đ Decode a Nomad XS payload with verbose output
decoder nomadxs -v
# đ Decode a Tag S / L payload and output the result in JSON format
decoder tagsl -j
# đī¸ Generate autocompletion script for bash
decoder completion bash
For more detailed information on each command, use:
decoder [command] --help