Heap exploitation

From 0dayInc/pwn · View interactive version

Heap exploitation is an AI agent skill from the GitHub repository 0dayInc/pwn. Use when exploiting glibc heap. Debugger and REDB steps for tcache.

How to use this skill

Skill file

Heap exploitation (tcache / fastbin)

  1. PWN::Plugins::REDB.open(bin: path) then xrefs_to(sym: 'malloc') and xrefs_to(sym: 'free').
  2. PWN::Plugins::Debugger.launch(bin: path) then break(addr_or_sym: 'main') and run.
  3. Use cyclic / cyclic_find to locate overflow into tcache metadata (tcache_perthread_struct).
  4. Confirm with regs and read_mem after continue. Write the proof via Findings.record.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.