Hex Editor

HexPatch – binary patcher and editor with TUI

HexPatch is a terminal-based binary patcher and editor aimed at low-level inspection and modification of executable files.

Rather than treating binaries solely as streams of bytes, the program brings architecture-aware analysis and patching tools into the same keyboard-driven interface. This makes it particularly relevant to reverse engineering, vulnerability research, binary modification and debugging, while remaining usable from a Linux terminal or remote shell session.

This is free and open source software.

Key Features

  • Disassembles machine instructions directly within the editing workflow.
  • Assembles replacement instructions for creating binary patches.
  • Supports COFF, ELF, Mach-O, PE and XCOFF executable formats.
  • Handles architectures including x86, x86-64, ARM, AArch64, MIPS, PowerPC, RISC-V, S390x, SPARC64 and eBPF.
  • Provides architecture-aware instruction highlighting.
  • Lets users work with virtual addresses as well as raw file positions.
  • Can edit files residing on remote systems through SSH and SFTP.
  • Supports SSH public-key authentication as an alternative to passwords.
  • Provides text and symbol searching to help locate relevant binary content.
  • Offers a text-oriented view alongside its lower-level binary inspection facilities.
  • Supports Lua plugins for extending file-format handling and other functionality.
  • Allows a custom plugins directory to be selected from the command line.
  • Provides configurable settings for adapting the interface and behaviour.
  • Includes internationalisation support with multiple interface translations.
  • Runs on Linux and other major desktop operating systems.

Website: github.com/Etto48/HexPatch
Support:
Developer: Ettore Ricci
License: GNU Affero General Public License v3.0

HexPatch is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Console-Based Hex Editors
hexylColored command-line hex viewer
DHEXncurses-based hex editor with diff mode
hexeditView and edit hexadecimal files
hyxMinimalistic hex editor
hexerMulti-buffer editor for binary files
hxHex editor using plain C and POSIX libs
HextazyColorful hexadecimal editor
hexhogConfigurable hex viewer and editor
fileobjncurses based hex editor
HexMeWritten in C++ that uses the Curses library
hexcurse-ngWritten in C
ddhxSimple multi-platform modal text UI hex editor
bviBased on the vi text editor
XVIHex editor using ncurses
HexitMinimalistic hex editor

Read our verdict in the software roundup.

Alternatives to hexdump
hexylColored command-line hex viewer
DHEXncurses-based hex editor with diff mode
hexeditView and edit hexadecimal files
hyxMinimalistic but powerful hex editor
hexerMulti-buffer editor for binary files
xxdMake a hexdump or do the reverse
hxHex editor using plain C and POSIX libs

Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted