Linux command
imhex 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Open
imhex [path/to/file]
Create
imhex --new
Example
imhex --open [path/to/file] --select [0x100] [0x200]
Example
imhex --file-info [path/to/file]
Example
imhex --hash sha256 [path/to/file]
Example
imhex --hexdump [path/to/file]
Example
imhex --version
说明
ImHex is a feature-rich hex editor designed for reverse engineers and programmers. It provides advanced analysis tools including a custom pattern language for parsing binary formats, data inspection, hash calculation, and visualization features. The editor supports multiple data views, bookmark management, and extensibility through plugins. It can handle large files efficiently and includes built-in parsers for common file formats.
参数
- --new
- Create a new empty file
- --open _FILE_
- Open specified file
- --select _START_ _END_
- Select byte range (hexadecimal offsets)
- --file-info _FILE_
- Display file information
- --hash _ALGORITHM_ _FILE_
- Calculate file hash (md5, sha1, sha224, sha256, sha384, sha512)
- --hexdump _FILE_
- Generate hexadecimal dump
- --version
- Display version information
FAQ
What is the imhex command used for?
ImHex is a feature-rich hex editor designed for reverse engineers and programmers. It provides advanced analysis tools including a custom pattern language for parsing binary formats, data inspection, hash calculation, and visualization features. The editor supports multiple data views, bookmark management, and extensibility through plugins. It can handle large files efficiently and includes built-in parsers for common file formats.
How do I run a basic imhex example?
Run `imhex [path/to/file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --new do in imhex?
Create a new empty file