Lab exercise. Nothing to hand in.
Note that people who have taken CS208 and/or CS251 are likely to find this
exercise easier than people who have not. Either way, write down questions about things
don't understand so we can follow up later.
- Open a terminal and ssh to your account on spectra.mathcs.carleton.edu
- Go through the steps described in
this buffer overflow tutorial.
I was able to get his exploit to work on spectra this morning (and in fact, for me,
the specific numbers the tutorial author was using were identical to the numbers I
saw on spectra, so it was really easy to make the bad thing happen in his example).
- Can you make the same thing happen on a Mac instead of on spectra (which runs Linux)?
Want to know more about the history and variety of buffer overflow attacks?