david942j/one_gadget
The best tool for finding one gadget RCE in libc.so.6 observed · 2026-10-11
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 3.5
- age_days: 3542
- days_rel: 45
- days_push: 13
- n_releases_24m: 3
Adoption not part of the score
2359 stars · 151 forks observed · 2026-10-11
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby command-line tool that finds one-gadget RCE candidates (execve('/bin/sh',...) call sites) in libc binaries for CTF pwn challenges. It uses backward symbolic execution from exec/posix_spawn calls to derive the constraints each gadget requires, supporting i386, amd64, arm, and aarch64.
Use cases
- find one gadget rce offsets in libc.so.6
- find execve /bin/sh gadgets in glibc for ctf pwn challenges
- get constraints for one_gadget exploitation
- search libc for one-shot shell gadgets without objdump or IDA
- find one_gadget addresses for a given libc binary
- locate execve gadgets in libc for ret2libc exploits
When to choose
- you are solving CTF pwn challenges and need one-gadget RCE offsets quickly
- you want automatically derived constraints for each gadget instead of manual reverse engineering
- you need support for x86, amd64, arm, and aarch64 libc binaries
When to avoid
- you need general ROP gadget search rather than execve-based one gadgets
- you are doing defensive security analysis rather than exploitation
- you need a library API in a language other than Ruby
Facets
cli-tool · maturity active
security reverse-engineering cli security penetration-testing developer-tools windows cli ctf pwn binary-exploitation glibc one-gadget-rce ruby-gem exploit-development command-line linux macos
1 source
- readme: https://github.com/david942j/one_gadget · fetched 2026-10-11 · 653f8c6a25cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| david942j/one_gadget | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="david942j/one_gadget")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem