> For the complete documentation index, see [llms.txt](https://ret2basic.gitbook.io/ctfnote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ret2basic.gitbook.io/ctfnote/pwn/linux-exploitation.md).

# Linux Exploitation

Plan:

* Protections
* Shellcoding
* ROP
  * Stack Alignment
  * ret2text
  * ret2syscall
  * ret2libc
  * ret2csu
  * BROP
  * SROP
  * Stack Pivot
* ptmalloc
  * chunks
  * malloc() and free()
  * bins
  * tcache
* UAF
* Race Conditions
  * TOCTTOU
  * Dirty Cow
  * Meltdown
  * Spectre
* Kernel
* Appendix: Tools
  * socat
  * LibcSearcher-ng
  * OneGadget
