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.
npx agentmods add skills/dslsdzc/rev-skills/re-exploitnpx skills add dslsdzc/rev-skills --skill re-exploitgit clone --depth 1 https://github.com/dslsdzc/rev-skillsWrote 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.
[](https://agentmods.dev/skills/dslsdzc/rev-skills/re-exploit)<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>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.
| Model | Per session | Once 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 |
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.
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、Fedorasudo dnf install python3-pwntools、Archsudo 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);Archsudo pacman -S ropper(Extra 官方包);Debian/Ubuntu/Fedora 无官方包 → pip - ROPgadget:
pip install ROPgadget(官方 PyPI);Debian/Ubuntusudo apt install python3-ropgadget、Fedorasudo dnf install python3-ROPGadget、Archsudo pacman -S ropgadget(均为官方包) - 验证:
ropper --version;ROPgadget --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、Fedorasudo dnf install gdb、Archsudo pacman -S gdb、macOSbrew install gdb;32 位目标 Debian/Ubuntu 补gdb-multiarch+libc6-i386 - 堆利用调试建议装 pwndbg:
heap/bins(tcachebins / fastbins / unsorted)命令直接看 chunk 布局与 bin 链表(gef 也有heap bins,功能略弱);验证: gdb 里heap bins有输出 - pwndbg 内置
checksec(见 [[re-pwn]] 工具准备)
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.
- 5d ago First seen · 130 lines · 40 tokens per session scan A e2e823e945cd
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.
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…
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…
Reverse Engineering & Binary Analysis
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.
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.
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.
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.