2026-02-18 06:55:01 -07:00
|
|
|
# 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 --new`
|
|
|
|
|
|
|
|
|
|
- Open 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}}`
|
|
|
|
|
|
2026-08-06 22:19:46 -06:00
|
|
|
- Calculate the hash of a file using a specific algorithm:
|
2026-02-18 06:55:01 -07:00
|
|
|
|
2026-08-06 22:19:46 -06:00
|
|
|
`imhex --hash {{md5|sha1|sha224|sha256|sha384|sha512}} {{path/to/file}}`
|
2026-02-18 06:55:01 -07:00
|
|
|
|
|
|
|
|
- Generate a hex dump of a file:
|
|
|
|
|
|
|
|
|
|
`imhex --hexdump {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
|
|
`imhex --version`
|