zardus / preeny

Some helpful preload libraries for pwning stuff.
BSD 2-Clause "Simplified" License
1.56k stars 171 forks source link

Add EOFkiller, exits the process when an EOF is encountered while reading #44

Closed rcx closed 6 years ago

rcx commented 6 years ago

This is useful when a ctf binary doesn't call gets, etc. properly in a loop, which causes it to hang once it reaches EOF. The use case for this is piping input into a ctf binary while debugging it (e.g. with gdb, run < crafted_input.txt), or for fuzzing with AFL.

rcx commented 6 years ago

Sorry, i made this on the wrong fork. please ignore it