ENNAENNA

one_gadget

MIT

๐Ÿ’ฅ Exploitation ยท Ruby

one_gadget is a specialized Ruby tool that locates single-instruction execve gadgets within libc shared libraries, finding code paths that spawn a shell with minimal setup requirements. These one-gadget RCE (Remote Code Execution) addresses dramatically simplify exploit development by replacing complex ROP chains with a single redirect to a pre-existing execve call in libc. CTF competitors and exploit developers use one_gadget to quickly identify the most convenient exploitation primitives in a target's libc version, reducing the time and complexity needed to achieve code execution from a memory corruption vulnerability. The tool analyzes constraint conditions for each gadget, reporting what register or stack states must be satisfied for successful execution, which is critical information for building reliable exploits.

2.3kstars
148forks
2issues
Updated 1d ago

Tags

exploitlibcgadgetrcectfglibcone-gadget-rcepwnpwnableshell

Community Reviews

No reviews yet. Be the first to review one_gadget.

More in Exploitation