ret2libc
Leak a function address from libc => Compute libc base address => call system("/bin/sh") or use one_gadget
Theory
libc_base_address = leaked_address_from_GOT - offsetsystem_address = libc_base_address + offset
bin_sh_address = libc_base_address + offsetTemplate:
Last updated