offensive-tools/rev/ropgadget/SKILL.md
Auth/lab ref: gadget discovery utility for ELF, PE, Mach-O, and raw binaries.
npx skillsauth add aeondave/malskill ropgadgetInstall 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 gadget discovery for exploit development and mitigations-aware binary triage.
Use ROPgadget when you need to:
pop, ret, pivot, syscall, or call-oriented gadgets# Basic gadget dump
ROPgadget --binary ./chall
# Common x86-64 stack-control gadgets
ROPgadget --binary ./chall --only "pop|ret"
# Try automatic chain generation when the target is simple
ROPgadget --binary ./chall --ropchain
ROPgadget --binary ./chall --only "pop|ret"
ROPgadget --binary ./chall --only "syscall|sysenter|int 0x80"
ROPgadget --binary libc.so.6 --only "mov|call|jmp"
ROPgadget --binary ./chall --depth 6
ROPgadget --binary ./chall --badbytes "00|0a|0d"
ROPgadget --binary ./chall --range 0x400000-0x401000
ROPgadget --binary ./chall --only "leave|xchg|add rsp|sub rsp|ret"
--ropchain as a convenience feature, not a proof of exploitability.one-gadget for libc post-leak options and with gdb for runtime validation.--only, --range, or smaller depth settings.No bundled scripts/, references/, or assets/.
Use the upstream README for architecture support, output formats, and advanced filters.
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.