offensive-tools/rev/one-gadget/SKILL.md
Auth/lab ref: libc gadget finder for `execve`-style code execution opportunities under known register and stack constraints.
npx skillsauth add aeondave/malskill one-gadgetInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fast libc post-leak shortcut finder. Great when it works, humbling when constraints bite back.
Use one-gadget when you need to:
execve offsets# 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.6
one_gadget on that libc file.gdb before betting the exploit on one offset.rsp contents, rax == NULL, or writable memory requirements often decide feasibility.one-gadget is best after you already solved ASLR for libc.one-gadget as a probe, not as the final design.No bundled scripts/, references/, or assets/.
Use the upstream gem README for installation, constraint-depth controls, and supported libc assumptions.
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.