CS 485 Programming Assignment 3
Attack lab: Understanding buffer overflow bugs

Due: Friday, 25 March, 2016 by 11:59:59 PM.

Programming assignments in CS 485G are individual work. You may discuss approaches with other students, but must figure out the solution to your assignment on your own.

The assignment is distributed as a PDF file.

Clarifications

Any clarifications made after the assignment has been posted will appear here.

In level 3, the string you should pass to the function is a string representation of the hexadecimal digits in your cookie, as a null-terminated sequence of ASCII digits and letters a-f. So if your cookie is 0x1f2e3d4c, the string will be "1f2e3d4c", which is the sequence of hexadecimal bytes 31 66 32 65 33 64 34 63 00. You will need to include the string in your exploit, and ensure that %rdi contains a pointer to that string.