ENNAENNA

one_gadget vs pwntools

GitHub Stats

2.3k
Stars
13.4k
148
Forks
1.8k
2
Issues
124
4d ago
Updated
6d ago
MIT
License
-
Ruby
Language
Python

About one_gadget

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.

About pwntools

Pwntools is a Python-based framework and library for CTF competitions and exploit development, enabling rapid prototyping of binary exploitation and reverse engineering tasks. It provides a suite of utilities for crafting payloads, manipulating binaries, and automating complex exploits. Pwntools is widely adopted by security enthusiasts and professionals for its versatility and ease of use in developing and testing exploits.

Platform Support

๐Ÿงlinux๐ŸŽmacos
๐Ÿงlinux

Tags

one_gadget only

exploitlibcgadgetrce

pwntools only

ctfbinary-exploitationropshellcode