Registry / yaklang

yaklang/hack-skills/format-string-exploitation

Format string exploitation playbook. Use when printf-family functions receive user-controlled format strings, enabling arbitrary stack reads (%p/%s), arbitrary memory writes (%n/%hn/%hhn), GOT/hook overwrites, and canary/libc/PIE leaks.

Agent skill · version 0.0.0-main.1794414206.g6fbf0bc · from yaklang/hack-skills

Install

npx yarkr-cli add skill:yaklang/hack-skills/format-string-exploitation

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:yaklang/hack-skills/format-string-exploitation
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:yaklang/hack-skills/format-string-exploitation

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:yaklang/hack-skills/format-string-exploitation

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.