Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 664 Bytes

learning.md

File metadata and controls

28 lines (15 loc) · 664 Bytes

My Myth breaking facts and methods to pwn :

  • Where to write :

    • if possible overwrite eip

    • else try GOT table addrs

    • Here comes myth breaker ---> u can also overwrite libc location ( __malloc__hook etc ..)

  • What to write

    • if u have leak

      • shellcode addr if nx is disabled

      • Ret2libc

        • 32 bit : &system+dummy+&binsh
        • 64 bit : &(pop rdi ; ret ; )+&binsh+&system
      • One - gadget

    • if no leak

      • ROP
      • Stack pivot (i.e change rsp to location where u have ropchain loaded )