A simple tool to extract and edit metadata and hex.
- Ubuntu:
sudo apt install exiftool
- Arch: Follow this tutorial
- Ubuntu:
sudo apt install cmake
- Arch:
sudo pacman -S cmake
git clone https://github.com/LucasVChaves/Hexennacht.git
cd Hexennacht
cmake .
make
sudo make install
- Hexdump
- Metadata extraction
- Hex manipulation
- Metadata edition
- UI (Maybe)
Argument | Function |
---|---|
-F / --file | Path to the file to open. |
-d / --hexdump | Flag for Hexdump |
-m / --edit-hex | Flag for opening Hex Editor |
-f / --fetch-metadata | Flag for fetching file's metadata |
-e / --edit-metadata | Flag for opening Metadata Editor |
-o / --output | Output path (if not provided will print on terminal) |
-v / --version | Show the version of the tool |
-h / --help | Show this help message |
VIM inspired keybindings and functions.
Navigation | Key | Function |
---|---|---|
Left | h | Move cursor 1 char left |
Down | j | Move cursor 1 char down |
Up | k | Move cursor 1 char up |
Right | l | Move cursor 1 char right |
Toggle Mode | i | Toggle normal / edit mode |
Top of File | ctrl + t | Move cursor to top of file |
Bot of File | ctrl + b | Move cursor to bottom of file |
Undo | ctrl + z | Undo last action |
Redo | ctrl + y | Redo last undid action |
Shortcuts | Key | Function |
---|---|---|
Open File | ctrl + o | Select file path to open |
Save File | ctrl + s | Saves current file changes |
Find Expr | ctrl + f | Find expression in open file |
Line Jump | ctrl + l | Jump to line number |
Help | ctrl + ? | Show help screen |
*Toggle Edit | TAB | Toggle edit between Hex and ASCII |
*: Only works in hex editor.
Hexdumping a file and outputting to a file:
./hexennacht -F /bin/somebinarie.o -d -o /tmp/hexdump.txt
Fetching metadata from an image and not using the output flag:
./hexennacht --file /img/funnycat.png --fetch-metadata