I have a final assignment that unfortunately I picked thinking it would be a breeze. Of course it has proven to be the hardest task I have attempted all semester and has led me to this post. The lab can be found here
My problem is that when I follow exactly what the lab says I can not get any results. I have crashed the program using %s multiple times (that is extremely easy) when i try to read the "secret" from the supplied address in memory I can not seem to do so.
what i am supplying to the program is something along the lines of..
\xff\x01\x48\x08 %x %x %x %x %s
where ff014808 is the address given by the program. I have tried literally hundreds of variations of this and other inputs with more %x's or less to try and pinpoint the distance between the user input and the address passed to the printf() function on the stack however I can not seem to get anywhere!