raspi / Heksa
Licence: apache-2.0
CLI hex dumper with colors
Stars: ✭ 133
Projects that are alternatives of or similar to Heksa
SwiftRadix
Easily convert integers to binary/hex/octal strings and back again with clean functional syntax.
Stars: ✭ 34 (-74.44%)
Mutual labels: hex, binary
hext
Markup language and tool for generating binary files
Stars: ✭ 23 (-82.71%)
Mutual labels: hex, binary
buffertools-php
Toolbox for working with binary and hex data. Similar to NodeJS Buffer.
Stars: ✭ 60 (-54.89%)
Mutual labels: hex, binary
literate-binary
Integrate handcrafted binary and documentation
Stars: ✭ 37 (-72.18%)
Mutual labels: hex, binary
Awesome React Generator
No more clicking around to create files in your react project! Awesome React Generator is Command Line Tool that let's you scaffold your components without leaving your terminal.
Stars: ✭ 98 (-26.32%)
Mutual labels: command-line-tool, binary
Pwninit
pwninit - automate starting binary exploit challenges
Stars: ✭ 127 (-4.51%)
Mutual labels: binary
Snodge
Randomly mutate JSON, XML, HTML forms, text and binary data for fuzz testing
Stars: ✭ 121 (-9.02%)
Mutual labels: binary
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+1257.14%)
Mutual labels: command-line-tool
Desktoppr
Simple command line tool to set the desktop picture on macOS
Stars: ✭ 127 (-4.51%)
Mutual labels: command-line-tool
Mint
A package manager that installs and runs executable Swift packages
Stars: ✭ 1,750 (+1215.79%)
Mutual labels: command-line-tool
Check It Out
A command line interface for Git Checkout. See branches available for checkout.
Stars: ✭ 127 (-4.51%)
Mutual labels: command-line-tool
Scc
An Offline cheat sheet and a quick reference command line tool for HTML, CSS and JS .
Stars: ✭ 123 (-7.52%)
Mutual labels: command-line-tool
Notes Cli
Small markdown note taking CLI app playing nicely with your favorite editor and other CLI tools
Stars: ✭ 122 (-8.27%)
Mutual labels: command-line-tool
Opennpd
C++ detect and train of "A Fast and Accurate Unconstrained Face Detector".
Stars: ✭ 126 (-5.26%)
Mutual labels: binary
Replace In Files Cli
Replace matching strings and regexes in files
Stars: ✭ 129 (-3.01%)
Mutual labels: command-line-tool
Vcf2phylip
Convert SNPs in VCF format to PHYLIP, NEXUS, binary NEXUS, or FASTA alignments for phylogenetic analysis
Stars: ✭ 126 (-5.26%)
Mutual labels: binary
heksa
Hex dumper with colors
Features
- ANSI colors for different byte groups such as
- Printable: A-Z, a-z, 0-9
- Spaces: space, tab, new line
- Special: 0x00, 0xFF
- Output multiple formats at once (hexadecimal, decimal, octal, bits or special combination formats)
- Multiple offset formats (hexadecimal, decimal, octal, percentage)
- First one is displayed on left side and second one on the right side
- Read only N bytes
- Seek to given offset
- also reads from end of file when using minus sign
- Seek and limit supports
- Prefixes hex (
0x
), octal (0o
) and binary (0b
) - Units (KB, KiB, MB, MiB, GB, GiB, TB, TiB)
- Prefixes hex (
- Read from stdin
heksa --help
heksa - hex file dumper v1.13.0 - (2020-08-04T21:40:08+03:00)
(c) Pekka Järvinen 2019- [ https://github.com/raspi/heksa ]
SYNOPSIS:
heksa [--format|-f <fmt1,fmt2,..>] [--help|-h|-?]
[--limit|-l <[prefix]bytes[unit]>] [--offset-format|-o <fmt1[,fmt2]>]
[--seek|-s <[prefix]offset[unit]>] [--splitter|-S <size>] [--version]
[--width|-w <[prefix]width>] <filename> or STDIN
OPTIONS:
--format|-f <fmt1,fmt2,..> One or multiple of: asc, bit, bitwasc, bitwdec, bitwhex, blk, dec, decwasc, hex, hexwasc, oct (default: "hex,asc")
--help|-h|-? Show this help (default: false)
--limit|-l <[prefix]bytes[unit]> Read only N bytes (0 = no limit). See NOTES. (default: "0")
--offset-format|-o <fmt1[,fmt2]> One or two of: dec, hex, humiec, humsi, oct, per, no, ''.
First one is displayed on the left side and second one on right side after formatters. (default: "hex")
--seek|-s <[prefix]offset[unit]> Start reading from certain offset. See NOTES. (default: "0")
--splitter|-S <size> Insert visual splitter every N bytes. Zero (0) disables. (default: 8)
--version Show version information (default: false)
--width|-w <[prefix]width> Width. See NOTES. (default: "16")
NOTES:
- You can use prefixes for seek, limit and width. 0x = hex, 0b = binary, 0o = octal
- Use '--seek \-1234' for seeking from end of file
- Limit and seek parameters supports units (KB, KiB, MB, MiB, GB, GiB, TB, TiB)
- Offset formatters:
- Disable formatter output with 'no' or ''
- 'humiec' (IEC: 1024 B) and 'humsi' (SI: 1000 B) displays offset in human form (n KiB/KB)
EXAMPLES:
heksa -f hex,asc,bit foo.dat
heksa -o hex,per -f hex,asc foo.dat
heksa -o hex -f hex,asc,bit foo.dat
heksa -o no -f bit foo.dat
heksa -l 0x1024 foo.dat
heksa -s 0b1010 foo.dat
heksa -s 4321KiB foo.dat
heksa -w 8 foo.dat
Requirements
- Terminal with ANSI color support
- Operating system
-
GNU/Linux
- x64 arm arm64 ppc64 ppc64le
-
Microsoft Windows
- x64
-
Darwin (Apple Mac)
- x64
-
FreeBSD
- x64 arm
-
NetBSD
- x64 arm
-
OpenBSD
- x64 arm arm64
- Other OSes supported by Go
- For full list, see: https://golang.org/doc/install/source#environment
-
GNU/Linux
Get source
git clone https://github.com/raspi/heksa
Contributing and helping with the project
See CONTRIBUTING.md and current issues that might need help.
Developing
- Make changes
-
make build
or justgo build .
Releasing new version:
Requirements:
-
upx
for compressing executables
- Create new version tag
make release
If there's a lot of visual changes you can take new screenshots with screenshot.sh
script in _assets directory
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].