Quick Post - Viewing the Stack

This topic is 5100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

So I was at a book store the other day, and I say a book that made me grin - it was "Writing Secure Code" by Microsoft. I decided to take a look through it and it was pretty good. They made lots of refrences to not claming your code is not-exploitable, hackable, etc... because people will do it jsut to embarass you (as they learned). Anyways they had this awesome Chapter 3 on Buffer Overflows. I would just had bought that book for the chapter because it was so well written. From it I learned this little trcik to view the current Stack.
printf("%o\n%o\n%o\n%o\n%o\n%o\n%o\n%o\n%o\n%o\n");


I couldn't remember if they use %o or not - but this works for me. Basically the chapter goes over how to buffer exploit and such, very informative for those of you curious. I noticed a post a few days ago on buffer exploits so I decided to make this post to let people know. I think its pretty cool. I never knew how to view the stack other than with debugging tools so this could be quite handy for someone. Thanks for reading this [smile]. - Drew

Share on other sites
heh cool :D I definitly need to check out application sequirity, maybe I'll get that book! Thanx!

Share on other sites
http://www.amazon.com/exec/obidos/tg/detail/-/0735617228/qid=1104430208/sr=8-1/ref=pd_csp_1/102-8887436-7488934?v=glance&s=books&n=507846

is it this one?

1. 1
2. 2
Rutin
21
3. 3
4. 4
A4L
15
5. 5
khawk
14

• 13
• 26
• 10
• 11
• 44
• Forum Statistics

• Total Topics
633742
• Total Posts
3013636
×