Skip to content

About

CTF pwn writeups & exploit templates | heap: off-by-null, chunk shrink, fastbin dup, unsorted/largebin attack, house of storm | 堆题题解与 exp 模板

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

security-notes

个人安全学习笔记 / 题解 / 模板库。

目标:2028 校招安全岗(游戏安全优先,二进制安全兜底)。 这里只放自己亲手打过的题、自己总结的笔记,不放别人 wp 的搬运。

Keywords: CTF pwn, heap exploitation, binary exploitation, off-by-null, chunk shrink, fastbin dup, unsafe unlink, tcache poisoning, unsorted bin attack, largebin attack, house of storm, FSOP, glibc 2.23/2.27/2.31, pwntools, ROP, ret2libc, SROP, format string, 堆题题解, exp 模板

博客(完整复现记录)

👉 https://bobobobo-maker.github.io/security-notes/

仓库里是速查和题解摘要,博客里是每道题的完整推导过程(程序结构 → 漏洞成因 → 为什么 exp 这一行要这样写 → 踩坑)。目前有:0CTF 2018 heapstorm2(house of storm)。

目录

pwn/          二进制安全(栈 / 堆 / 格式化字符串 / 逆向)
  stack/      栈题、ROP、格式化字符串
  heap/       堆题(元数据、重叠、bin 攻击)
cve/          真实软件漏洞复现(补丁 diff → 回退 → harness → crash → 报告)
web/          Web 安全(PortSwigger / 靶场 / 笔记)
templates/    可复用的 exp 模板(脱敏,改地址即用)
notes/        速查笔记(chunk 元数据、原语卡片、打卡表)

题目清单(按题名搜)

堆

栈 / ROP

格式化字符串

CVE 复现 / Web

进度

方向 状态 数量
pwn · 栈 ret2text / ret2libc / ret2csu / ret2dlresolve / SROP / canary 6 篇
pwn · 格式化字符串 一次性 fmt、循环 fmt、非栈上指针链、改函数指针 4 篇
pwn · 堆 UAF → 堆溢出 → off-by-one 造重叠 → 改 GOT → fastbin dup + 假块 → unsafe unlink → off-by-null 合并 + tcache dup → tcache 重叠 + free@GOT 劫持 → unsorted bin attack 写 magic → chunk shrink + largebin/unsorted(house of storm) 10 篇
CVE 复现 expat CVE-2022-40674(heap-use-after-free)+ libpng CVE-2018-13785(整数回绕→除零)+ 报告模板 2 篇
Web 有基础(HTTP/源码/前端绕过/XSS 入门/SQLi/文件包含),低频推进(每周 2×20 min) 2 篇

说明

  • 所有题解都配能跑通的 exp,模板在 templates/。
  • 题目远程地址、比赛 flag 一律不公开(见各题解里的 HOST 占位)。
  • 笔记按自己的理解写,不作为「标准答案」参考。
  • 引用/参考请注明出处(见 LICENSE)。

License

MIT © 2026 BObobobo-maker

About

CTF pwn writeups & exploit templates | heap: off-by-null, chunk shrink, fastbin dup, unsorted/largebin attack, house of storm | 堆题题解与 exp 模板

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages