david942j/one_gadget
The best tool for finding one gadget RCE in libc.so.6 observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3494
- days_rel: 698
- days_push: 8
- n_releases_24m: 1
Adoption not part of the score
2346 stars · 149 forks observed · 2026-08-28
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-08-28 · 653f8c6a25cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| david942j/one_gadget | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="david942j/one_gadget")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem