
Description
Format string exploitation is an agent skill from the yaklang hack-skills collection, listed on skills.sh. It is a playbook for bugs where printf-family functions receive a user-controlled format string. The skill covers reading stack values with %p and %s, writing memory with %n, overwriting a GOT entry, following pointer chains, blind format string cases, FORTIFY_SOURCE bypass and 64-bit null byte handling. It also shows how to automate the work with pwntools. The page says it was distilled from the ctf-wiki format string notes, CTF patterns and real-world scenarios, and it links to related playbooks for stack overflow and ROP, binary protection bypass, arbitrary write to code execution and heap exploitation.…
Highlights
- Stack reads with %p and %s
- Arbitrary writes with %n and GOT overwrite
- Blind format string and FORTIFY_SOURCE bypass notes
- 64-bit address placement and null byte handling
- pwntools automation examples
Ratings & Reviews
No ratings yet
Be the first to rate format-string-exploitation.
People also visit

reverse-skill-router
Routes reverse engineering, exploitation, penetration testing, malware, mobile
format-string-exploitation FAQ
What does the format string exploitation skill cover?
Techniques for bugs where printf-family functions receive a user-controlled format string: reading stack values with %p and %s, writing with %n, GOT overwrite, pointer chains and blind format string cases.
How do I install it?
Run: npx skills add https://github.com/yaklang/hack-skills --skill format-string-exploitation
Which security audits does it show?
Gen Agent Trust Hub: Pass. Socket: Warn. Snyk: Pass.
What does the skill link to for related bugs?
It points to the stack-overflow-and-rop, binary-protection-bypass, arbitrary-write-to-rce and heap-exploitation playbooks for cases where a format string leak or write is combined with other primitives.
What is an agent skill?
A SKILL.md file of instructions, sometimes with scripts and reference notes, that an AI agent such as Claude Code loads when a task needs it.
What are the best format-string-exploitation alternatives?
Popular alternatives to format-string-exploitation include ctf-pwn, binary-protection-bypass and arbitrary-write-to-rce. See all format-string-exploitation alternatives




