Skip to content

Archaversine/Hexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexer

CLI Hex Editor for Linux in C++

Example

Hexer in Use

Installation

Clone the repository into a directory and run the makefile:

git clone https://github.com/Archaversine/Hexer.git && cd Hexer
make && sudo make install

Usage

Syntax:

hexer <filename>

Example:

hexer file.txt

Keybindings:

The following are the keybindings to use Hexer. Movement of the cursor is controlled by both the arrow keys and the VIM (HJKL) keys. Also note that the following keybindings are CASE SENSITIVE.

Editing Keybinds

r - [r]eplace the selected value at the cursor's position with a new value.

R - [R]eplace multiple values starting at the cursor's position.

i - [i]nsert a new value before the cursor's position.

I - [I]nsert multiple values before the cursor's position.

a - [a]ppend a value after the cursor's position.

A - [A]ppend multiple values after the corsor's position.

x - Delete the selected value.

X - Delete multiple values starting at the cursor's position.

Navigating Keybinds

g - [g]o to the byte at the specified offset (offset is in hexadecimal).

G - [G]o to the last byte in the file.

/ - Search for and highlight all occurences of a specified byte.

K - Turn off highlighting.

n - Go to the [n]ext highlighted byte.

N - Go to the previous highlighted byte.

File Keybinds

W - [W]rite all changes to a specified file.

O - [O]pen a different file (Does not create new files).

q - [q]uit the editor (NOTE: DOES NOT ASK TO SAVE BEFORE QUITTING).

Color Codes

#ff0000: An inserted value that matches the search criteria.

#ff00ff: An overridden value that matches the search criteria.

#ffff00: A value that matches the search criteria.

#00ff00: An inserted value.

#0000ff: An overridden value.

About

C++ CLI Hex Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors