Skip to content

A small tool to unescape hex escaped text files (e.g. Nginx logs)

License

Notifications You must be signed in to change notification settings

akrylysov/hexunescape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexunescape

hexunescape is a small tool to unescape hex escaped text files (e.g. Nginx logs).

Installation

go get -u github.com/akrylysov/hexunescape/cmd/hexunescape

Usage

usage: hexunescape [path]

path is optional, defaults to stdin.

Example

Stdin as an input:

echo "\x22abc\x22" | hexunescape
"abc"

File as an input:

echo "{\x22foo\x22:\x22bar\x22}" > test
hexunescape test
{"foo":"bar"}

About

A small tool to unescape hex escaped text files (e.g. Nginx logs)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages