|
Hacking the art of exploitation, sometimes don't work
Hello all
this is a question regarding programs from the book Hacking the art of exploitation.
here are the programs i am testing:
notetaker.c
notesearch.c
both of these work
but then
exploit_notesearch.c
auth_overflow.c
don't work
interesting ... is that if I compile these two exploits as a.out (gcc exploit_notesearch.c)
they work
but if I compile them as (gcc -o exploit_notesearch exploit_notesearch.c) the programs works but not the exploits
anyone
thank you
|