A minimalist hex editor designed for command-line usage.
-
Allocate Memory:
ab <num>
— Allocate<num>
bytes.adb <num>
— Allocate<num>
double bytes (8*2).abs <num>
— Allocate<num>
bits.
-
Preview File:
p
— Preview the entire file.p <loc>
— Preview content at a specific location<loc>
.
-
Editing:
c <loc>
— Change current location to<loc>
, enabling edits.e <bytes>
— Edit the content at the current location. Example:e 4b 9d 12
changes the byte values at the current location.
-
Exit:
q
— Quit the editor. It will ask if you want to save the changes before quitting.
- Clone the repository:
git clone https://github.com/Mutarov/mhx.git
- Navigate to the project directory:
cd mhx
- Compile the program using
make
:make
- Optionally, install the program to your system:
sudo make install
To run the hex editor, simply execute the compiled binary:
mhx <file>
This project is licensed under the GPL v3 - see LICENSE file for details
By Murat N.S. 2024
I welcome contributions! if you'd like to contribute to Murat's Hex Editor (mhx), please follow these steps:
- Fork the repository: Click the "Fork" button on the top-right corner of this page.
- Clone your fork:
git clone https://github.com/Mutarov/mhx.git
- Create a new branch for your feature or bugfix:
git checkout -b <feature-name>
- Make your changes and commit them:
git commit -m "Description of changes"
- Push your changes to your fork:
git push origin <feature-name>
- Create a pull request from your fork to the main repository. This is where you'll propose your changes to the original project.