New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Binary exploitation toolkit for CTF pwn challenges, covering memory corruption through to privilege escalation.

skills.sh installs
10.2K
GitHub stars
3.8K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers overflows, format strings, heap bugs, ROP, shellcode, seccomp and sandbox escapes, and kernel exploitation across split reference files
  • Includes Python tooling (pwntools, ROPgadget, ropper) plus one_gadget and seccomp-tools with a helper install script
  • Supports optional WinDbg, IDA Pro, and Ghidra MCP servers for crash dumps, debugging, and decompiling vulnerable functions
  • Designed for targets where the vulnerable binary is already in hand; reverse engineering comes first when the binary's behavior is unclear

Install

$ npx -y skills add ljagiello/ctf-skills --skill ctf-pwn -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CTF Binary Exploitation (Pwn)

Quick reference for binary exploitation (pwn) CTF challenges. Each technique has a one-liner here; see supporting files for full details.

Prerequisites

Python packages (all platforms):

pip install "pwntools==4.15.0" "ROPgadget==7.7" "ropper==1.13.13"
# or via script: bash scripts/install_ctf_tools.sh python

uv alternative:

uv venv && uv pip install "pwntools==4.15.0" "ROPgadget==7.7" "ropper==1.13.13"

Linux (apt):

apt install gdb binutils strace ltrace qemu-system-x86

Optional cross-arch (ARM/MIPS — Debian/Ubuntu):

apt install qemu-user qemu-user-static gdb-multiarch binutils-multiarch libc6-armhf-cross libc6-arm64-cross libc6-mips-cross

macOS (Homebrew):

brew install gdb binutils qemu

Ruby gems (all platforms):

gem install one_gadget seccomp-tools

Manual install:

  • pwndbg — Linux: GitHub, macOS: brew install pwndbg/tap/pwndbg-gdb
  • checksec — included with pwntools (checksec --file=binary)

Details

Repository
github.com/ljagiello/ctf-skills
Categories
Security, Debugging

More from ljagiello/ctf-skills

All 11

Similar to Ctf Pwn

More Security