Submit a text file with your asnwers on Google Classroom. Each part has their own program. To compile the programs you must run the following command:
./compile-vulnerable.sh <prgrm-name> <output-file-name>
NOTE: You should do the homework on the lab machines (via ssh). As of right now, only lab machines 19 & 20 have gcc-multilib
installed, so you should do the homework on them. The ssh-ip is: 149.89.161.1xx
.
- Run the tool with the
--list
flag. What functions are listed? - Find the offset for the program using the tool. What value do you get?
- Try overriding the return address to point to the
get_flag
function. What is the flag?
- Try to find the flag using our tool. Good luck!