In this tutorial, I introduce a HEX editor called wxHexEditor which is available for Linux, Windows and MacOS X.
wxHexEditor Features
wxHexEditor offers a number of powerful features.
- 64-bit file descriptors supporting files or devices of up to 2^64 bytes.
- Extremely fast with handling large files by not copying the whole files to RAM.
- Can handle multiple byte insertions or deletions without creating a temp file.
- Low memory footprint (e.g., 25 MB memory for opening multi GB files).
- Disassembly support for x86, x86-64, MMX, SSE, SSE2, SSE3, AMD-V, Intel VT-x.
- Support for process memory editing.
- Can handle XOR-based obfuscation.
- Multiple views to show multiple files.
- Support for multiple encodings (e.g., UTF8/16/32, Shift JIS, GBK, EUC, etc).
Install wxHexEditor on Linux
To install wxHexEditor on Debian, you can build wxHexEditor from its source as follows.
$ svn checkout svn://svn.code.sf.net/p/wxhexeditor/code/trunk wxHexEditor
$ cd wxHexEditor
$ make OPTFLAGS="-fopenmp"
On Ubuntu, wxHexEditor is available via GetDeb Apps repositories. To installwxHexEditor on Ubuntu:
$ sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu $(lsb_release -cs)-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
$ sudo apt-get update
$ sudo apt-get install wxhexeditor
To install wxHexEditor on Fedora, build it from its source as follows.
$ svn checkout svn://svn.code.sf.net/p/wxhexeditor/code/trunk wxHexEditor
$ cd wxHexEditor
$ make OPTFLAGS="-fopenmp"
To install wxHexEditor on CentOS or RHEL, first enable Repoforge repository, and then follow the same procedure as in Fedora.
/lib/libgbm.so.1: undefined reference to `wayland_buffer_is_drm'
If you encounter the above build error on Fedora, updating mesa-libgbm package solves the problem.