十六進制編輯器是用于編輯單個字節數據的軟件應用程序,主要由程序員或系統管理員使用。
常規文本編輯器和十六進制編輯器之間的區別在于常規編輯器表示文件的邏輯內容,而十六進制編輯器表示文件的物理內容。十六進制編輯器可以讓你以十六進制的形式查看或編輯文件的二進制數據,并用較為友好的界面來編輯二進制數據。對于需要處理二進制數據的用戶,它非常受歡迎,例如使用十六進制編輯器可以更改游戲中的部分設置。
常用的十六進制編輯器有 Bless Hex Editor、GNOME Hex Editor、Okteta 等。和大多數編輯器一樣,人們對于十六進制編輯器的要求包括功能強大、可定制性、界面美觀。GitHub 上有一款開源的,名叫?ImHex 的十六進制編輯器,star 數量高達21.9k,Github地址:https://github.com/WerWolv/ImHex。
項目作者在 readme 文件中首先介紹了 ImHex 編輯器實現的功能特性。
十六進制視圖
Bytes
Hex string
C, C++, C#, Rust, Python, Java & JavaScript 數組
ASCII-Art 十六進制視圖
HTML 自包含?div
Byte patching
Patch management
Copy bytes as feature
String and hex search
Colorful highlighting
Goto from start, end and current cursor position
Custom C++-like pattern language for parsing highlighting a file's content
Automatic loading based on MIME type
arrays, pointers, structs, unions, enums, bitfields, namespaces, little and big endian support, conditionals and much more!
Useful error messages, syntax highlighting and error marking
Doesn't burn out your retinas when used in late-night sessions
Dark mode by default, but a light mode is available as well
Data importing
Base64 files
IPS and IPS32 patches
Data exporting
IPS and IPS32 patches
Data inspector allowing interpretation of data as many different types (little and big endian)
Huge file support with fast and efficient loading
String search
Copying of strings
Copying of demangled strings
File hashing support
CRC16 and CRC32 with custom initial values and polynomials
MD4, MD5
SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
Disassembler supporting many architectures (frontend for Capstone)
ARM32 (ARM, Thumb, Cortex-M, AArch32)
ARM64
MIPS (MIPS32, MIPS64, MIPS32R6, Micro)
x86 (16-bit, 32-bit, 64-bit)
PowerPC (32-bit, 64-bit)
SPARC
IBM SystemZ
xCORE
M68K
TMS320C64X
M680X
Ethereum
RISC-V
WebAssembly
MOS65XX
Berkeley Packet Filter
Bookmarks
Region highlighting
Comments
Data Analyzer
File magic-based file parser and MIME type database
Byte distribution graph
Entropy graph
Highest and average entropy
Encrypted / Compressed file detection
Built-in Content Store
Download all files found in the database directly from within ImHex
Yara Rules support
Quickly scan a file for vulnerabilities with official yara rules
Helpful tools
File splitter
File combiner
File shredder
Itanium and MSVC demangler
ASCII table
Regex replacer
Mathematical expression evaluator (Calculator)
Hexadecimal Color picker
Base converter
UNIX Permissions calculator
Anonfiles File upload tool
Wikipedia term definition finder
File utilities
界面美觀
每款編輯器都有自己的風格,越來越多的開發者青睞于黑色背景、彩色高亮顯示的界面風格,ImHex 就是如此: