snippetbashTip
imhex — Hex editor for reverse engineers and programmers. More information: <https://docs.werwolv.net/imhex/
Viewed 0 times
editorcommandimhexengineersclireversehexfor
linux
Problem
How to use the
imhex command: Hex editor for reverse engineers and programmers. More information: <https://docs.werwolv.net/imhex/>.Solution
imhex — Hex editor for reverse engineers and programmers. More information: <https://docs.werwolv.net/imhex/>.Open a file in ImHex:
imhex {{path/to/file}}Create a new empty file:
imhex --newOpen a file in the currently running ImHex instance and select a range of bytes (offsets in hexadecimal):
imhex --open {{path/to/file}} --select {{0xstart_offset}} {{0xend_offset}}Display information about a file:
imhex --file-info {{path/to/file}}Calculate the hash of a file using a specific algorithm (
md5, sha1, sha224, sha256, sha384, sha512):imhex --hash {{algorithm}} {{path/to/file}}Generate a hex dump of a file:
imhex --hexdump {{path/to/file}}Display version:
imhex --versionCode Snippets
Open a file in ImHex
imhex {{path/to/file}}Create a new empty file
imhex --newOpen a file in the currently running ImHex instance and select a range of bytes (offsets in hexadecimal)
imhex --open {{path/to/file}} --select {{0xstart_offset}} {{0xend_offset}}Display information about a file
imhex --file-info {{path/to/file}}Calculate the hash of a file using a specific algorithm (`md5`, `sha1`, `sha224`, `sha256`, `sha384`, `sha512`)
imhex --hash {{algorithm}} {{path/to/file}}Context
tldr-pages: linux/imhex
Revisions (0)
No revisions yet.