Class 3 - Software security / memory safety¶
Homework¶
Potostar stack0¶
When i first tired to run the virtual mchine it erroed out and i found out i needed to download the files from the website. after that i was able to run the virtual machine
Stack 0 is a buffer overflow type problem. In this lab if we send more than 64 characters into the buffer we can over write other variables in memory.


Stack1 This next problem was similar to the first one but this time we are trying to set a variable to a certain data value. In this case we want to modify the variable “modified” to be “abcd” . To do this you need to send a total of 68 characters and the first 64 can be random characters and then the last 4 characters “need” to be abcd but in reverse order “dcba” because of how the data is stored in memory.
