one-gadget
Auth/lab ref: libc gadget finder for `execve`-style code execution opportunities under known register and stack constraints.
v2026.11.13-21cd5683 installs+3 in 7 days39 Starssynced 11 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/one-gadgetWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package4438c90e…0d33b63c
4438c90e5c54…c7c70d33b63c1 file · 1.1 KBScanMedium1 finding
- No license found
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/rev/one-gadget@21cd568
On this page
Fast libc post-leak shortcut finder. Great when it works, humbling when constraints bite back.
When to use one-gadget
Use one-gadget when you need to:
- turn a libc base leak into candidate
execveoffsets - compare several constraint-heavy RCE options quickly
- decide whether a short stack/register fix-up beats a full custom chain
Quick Start
# Enumerate candidate gadgets in libc
one_gadget ./libc.so.6
# Show more gadgets and constraints
one_gadget -l 2 ./libc.so.6
# Raw offsets only
one_gadget --raw ./libc.so.6Practical Workflow
- Identify the exact libc or a trustworthy build match.
- Compute the libc base from your leak.
- Run
one_gadgeton that libc file. - Read the printed constraints carefully.
- Validate stack, registers, and writable memory in
gdbbefore betting the exploit on one offset.
Practical Notes
- Constraints are the whole game:
rspcontents,rax == NULL, or writable memory requirements often decide feasibility. one-gadgetis best after you already solved ASLR for libc.- Keep a normal ROP fallback path ready; many stable exploits start with
one-gadgetas a probe, not as the final design.
Caveats
- A valid offset does not imply a reachable or repeatable exploit path.
- Version drift between local and remote libc makes results meaningless.
- CET, seccomp, stack layout differences, or register clobbers often kill the magical one-shot path.
Resources
No bundled scripts/, references/, or assets/.
Use the upstream gem README for installation, constraint-depth controls, and supported libc assumptions.
Files in this version
- SKILL.md1.9 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | No | No |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumLicense · No license found
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | Nov 13, 2026 | 21cd568 | 4438c90e | Signed | – |
More from AeonDave
All from this publisherMore in Reverse engineering and fuzzing
See the categoryAsk anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login