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.
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.