From raw bytes to forged ELFโcrafted with purist OOP.
AnvilELF is a purist object-oriented tool for ELF binary parsing, modification, tracing, and code injection. It is built with SOLID principles, full test coverage, and a strong focus on maintainability.
Binary Format | Process Tracing & Code Injection |
---|---|
โ Executable Header | ๐ Process Tracing (ptrace & /proc ) |
โ Section Headers | ๐ Infection Detection |
โ Sections | ๐ Code Injection |
โ String & Symbol Tables | |
๐ Program Headers | |
๐ Segments | |
๐ Dynamic Linking & Relocations |
# Show executable header
anvil> header
# List all sections
anvil> sections
anvil> sections --full
# Show a specific section by name
anvil> section --name .shstrtab
anvil> section --name .shstrtab --full
# Disassemble .text section
anvil> text
anvil> text --offset 0 --size 10
# Disassemble .plt section
anvil> plt
# Disassemble .init section
anvil> init
# Disassemble .fini section
anvil> fini
# Exit the shell
anvil> exit
git clone https://github.com/dasuos/AnvilELF.git
cd AnvilELF
make install
To verify code formatting, linting, type safety, and run all tests, use:
make check
To automatically format and fix code style issues, run:
make fix
To remove the container and Docker image:
make clean