re-exploit

re-exploit is a skill for Claude Code, Codex from dslsdzc/rev-skills. It costs 40 tokens per session (4,619 once invoked), scanned A, original, Apache-2.0.

A guide to developing exploits for already located software vulnerabilities. It covers ROP chains, which reuse short instruction sequences, and heap attacks involving memory-allocation structures.

In plain words
What is it for?
Use it to search for ROP gadgets, build stack layouts, develop fastbin or tcache heap attacks, and work with techniques such as SROP, ret2dlresolve, and seccomp sandbox bypasses.
Why use it?
It helps turn a confirmed memory bug into a controlled result such as code execution or arbitrary memory access.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-exploit
Any agent
npx skills add dslsdzc/rev-skills --skill re-exploit
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-exploit

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-exploit.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-exploit)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-exploit"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-exploit.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.04619
Opus 5 $0.00020 $0.02309
Sonnet 5 $0.00008 $0.00924
Haiku 4.5 $0.00004 $0.00462

Measured 5d ago against content hash e2e823e945cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

re-exploit scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- 发行版包:Debian/Ubuntu `sudo apt install python3-pwntools`、Fedora `sudo dnf install python3-pwntools`、Arch `sudo pacman -S python-pwntools`(Extra 仓库官方包)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/skills/re-exploit/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

利用开发(ROP 链构造 / 堆利用)

何时使用 / 何时不用

  • 用:拿到已定位的漏洞(越界读写 / 崩溃 / 危险输入)要升级为 RCE / 任意读写——漏洞分析([[re-crash-triage]] / [[re-vuln]])移交的利用开发环节
  • 用:ROP 链构造——gadget 搜索、栈布局、ret2csu / SROP / ret2dlresolve
  • 用:堆利用——fastbin / tcache 攻击、unsorted bin 泄露、double free 系列
  • 用:seccomp 沙箱绕过(ORW:open / read / write 链)
  • 不用:入门级 pwn(ret2win / 简单 ret2libc / 格式化字符串)→ [[re-pwn]]
  • 不用:只有崩溃还没有定位(→ [[re-crash-triage]]);还没崩溃找 bug(→ [[re-fuzzing]])
  • 注意:利用验证是动态执行,默认在沙箱内跑([[platform-tips]] 最高原则,见 [[re-sandbox]]);先规划再写(坑 4),组合绕过分步验证

工具准备

参考 [[platform-tips]]——利用验证默认沙箱;静态准备(gadget 搜索 / 规划)可免沙箱,动态验证进沙箱。

pwntools(pip 安装,Python 3.8+)—— 利用脚本主力

  • pip install pwntools(官方 PyPI,4.15.x;官方文档声明支持 Python 3.8+,64 位系统支持最好)
  • 发行版包:Debian/Ubuntu sudo apt install python3-pwntools、Fedora sudo dnf install python3-pwntools、Arch sudo pacman -S python-pwntools(Extra 仓库官方包)
  • Python 3.12+(Ubuntu 24.04 自带 3.12)直接 pip 装报 PEP 668 externally-managed-environment——对策:venv(python3 -m venv ~/venvs/pwn && source ~/venvs/pwn/bin/activate)或发行版包或 --break-system-packages
  • 验证: pwn --version / python3 -c "import pwn; print(pwn.version)"

ropper / ROPgadget —— gadget 搜索

  • ropper:pip install ropper(官方 PyPI);Arch sudo pacman -S ropper(Extra 官方包);Debian/Ubuntu/Fedora 无官方包 → pip
  • ROPgadget:pip install ROPgadget(官方 PyPI);Debian/Ubuntu sudo apt install python3-ropgadget、Fedora sudo dnf install python3-ROPGadget、Arch sudo pacman -S ropgadget(均为官方包)
  • 验证: ropper --versionROPgadget --binary ./target | head;常用搜索:ROPgadget --binary ./target | grep 'pop rdi'ropper -f ./target --search "pop rdi"

gdb + gef/pwndbg(见 [[re-gdb]])—— 栈/堆布局验证

  • gdb: Debian/Ubuntu sudo apt install gdb、Fedora sudo dnf install gdb、Arch sudo pacman -S gdb、macOS brew install gdb;32 位目标 Debian/Ubuntu 补 gdb-multiarch + libc6-i386
  • 堆利用调试建议装 pwndbgheap / bins(tcachebins / fastbins / unsorted)命令直接看 chunk 布局与 bin 链表(gef 也有 heap bins,功能略弱);验证: gdb 里 heap bins 有输出
  • pwndbg 内置 checksec(见 [[re-pwn]] 工具准备)

Read the full file on GitHub · 130 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 130 lines · 40 tokens per session scan A e2e823e945cd

Subscribe to this mod's changes

re-exploit is a skill published in the GitHub repository dslsdzc/rev-skills (40 stars, last pushed 7d ago), licensed Apache-2.0. It adds 40 tokens to every session and 4,619 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

plurigrid/asi · 40 tokens

reverse-engineering-binaries-with-ghidra

Uses Ghidra to disassemble and decompile a binary, navigate to key routines via imports and strings, annotate decompiled code, and run headless scripts to automate extraction of C2, crypto, and config. Activates for requests to reverse engineer with Ghidra, decompile a binary, or script Ghidra headless analysis.

meltedinhex/analyst-ai-pack · 80 tokens

reverse-engineering-shellcode

Analyzes position-independent shellcode: disassembling raw bytes at the right architecture, recognizing PEB-walk API resolution and egg hunters, and emulating execution to recover behavior and payloads. Activates for requests to analyze shellcode, disassemble raw position-independent code, or emulate a shellcode blob.

meltedinhex/analyst-ai-pack · 68 tokens