Thursday 10 November 2011

Buffer OverFlow

Last week I learned about buffer overflow. We didn't really talk about as much as get a demonstration, which I like better. I ran a program called NIprint on one computer, which listened on port 515. I was shown how to figure out how long the space is, that I needed to overflow, then using a command called ncat and the ip address of the other computer I was able to send a string of over 50 characters (enough to overflow space), and it crashed the program. After that I had to write a script that would do the same thing to overflow the buffer of the NIprint program. I thought that it was pretty cool how it worked so well in the end, also a little surprised. I'm not to sure if I did it completely write  thou :/.

No comments:

Post a Comment