Skip to content

Commit

Permalink
Added an EXAMPLES section to the ronin encode man-page (#174, #161)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cioraz authored Oct 4, 2023
1 parent 9b9fd6c commit 989e77c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions man/ronin-encode.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,32 @@ Encodes each character of the given data into a variety of formats.
`-h`, `--help`
Print help information.

## EXAMPLES

Encode a string `hello world` to base 16:

ronin encode --base16 --string "hello world"

Encode a string `hello world` to HTTP:

ronin encode --http --string "hello world"

Encode a string `hello world` to XML:

ronin encode --xml --string "hello world"

Hex encodes the contents of a file:

ronin encode --hex --file /path/to/file.txt

Compresses the file's contents using Zlib:

ronin encode --zlib --file hi.txt

Encode a string `hello world` to ruby:

ronin encode --ruby --string "hello world"

## AUTHOR

Postmodern <[email protected]>
Expand Down

0 comments on commit 989e77c

Please sign in to comment.