Tags: pwn 

Rating: 5.0

Exploit a signedness and a format string vulnerability to:

* Leak a libc address and calculate the libc base address.
* Overwrite the return address with the address of entry0, which will simply start the program once again after we received the leak.
* Calculate the address of the a one gadget using the received leak.
* Overwrite the return address with the address of the one gadget.

Original writeup (https://devel0pment.de/?p=1191).