MagicGadgetFinder is a tool designed to search for and identify magic gadgets within ELF (Executable and Linkable Format) files.
git clone https://github.com/nyyyddddn/MagicGadgetFinder.git
pip install -r requirements.txt
Run the following command in the terminal:
python magicGadgetFinder.py file
To add custom search rules in MagicGadgetFinder, simply insert new rules into the bytecodes array in the code.