Skip to content

mr152here/hexegg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexegg

Interactive hex editor for linux terminal (and other platforms) with some advanced features.

hexegg

Features

  • cross-platform, based on crossterm library
  • simple custom color schemes with 16, 256, and full RGB support
  • multiple input files
  • highlight diffs between files
  • advanced block manipulation such as insert, delete, fill from generator, from other files, etc ...
  • advanced search options
  • search for embeded files and known signatures
  • results highlighting
  • parse some binary structures MZPE, ELF, ..
  • simple command interface
  • minimal external dependencies
  • mouse support

Please read the manual to see all commands and features or cheat sheet to see all keyboard shortcuts.

Install and run

Download and extract the compiled zip file for your platform.

cd hexegg
chmod +x hexegg

If you want to build latest version from the source, clone git repository (or download sources as a zip file) and compile it with the cargo. You must have installed rust programming language to be able to compile it.

git clone https://github.com/mr152here/hexegg.git
cd hexegg
cargo build --release

Then copy configuration config.toml file to the same folder where compiled program is located. Or place it to the local config directory $HOME/.config/hexegg/ for linux and %APPDATA%\hexegg\ for windows.

To view/edit files just execute hexegg in terminal and pass file name(s) as arguments.

hexegg [-t <size_limit>] <file1> [file2] [file3] ...

for example:

hexegg notepad.exe
hexegg myfile mypatchedfile
hexegg -t 1000 /dev/random
hexegg -t 1000000 /dev/sda1

Acknowledgment

Hexegg is written in the rust programming language using the following libraries:

License

Hexegg is licensed under the Apache 2.0 license. See the LICENSE file for details.