One gadget
Quick win
Finding one gadget
# one_gadget /tmp/libc.so.6
0x13ea3b execl("/bin/sh", eax)
constraints:
ebp is the GOT address of libc
eax == NULL
0x13ea3c execl("/bin/sh", [esp])
constraints:
ebp is the GOT address of libc
[esp] == NULLLast updated