Skip to main content
gamedev.net
🔒 Locked

Quick Post - Viewing the Stack

Started by Drew_Benton 1 reply 800+ views
Original Post
Drew_Benton
Drew_Benton
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
Seriema
Seriema
heh cool :D I definitly need to check out application sequirity, maybe I'll get that book! Thanx!
[ ThumbView: Adds thumbnail support for DDS, PCX, TGA and 16 other imagetypes for Windows XP Explorer. ] [ Chocolate peanuts: Brazilian recipe for home made c
ctaclas
ctaclas
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?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.