For this lab, Please visit this link (https://seedsecuritylabs.org/Labs_20.04/Software/Buffer_Overflow_Setuid/) for the source code, instructions and other resources .
What you need to do:
- Finish tasks described in the lab document.
What to submit:
A formal lab report containing
- screen shots and description of what you did, why you did it, and teh reslts
- Your updated exploit.c that generates the input for the stack.c program.
- A copy of the badfile. This must gengerate a shell when stack.c runs from the command line in the VM.
- A screenshot of using stack.c program to obtain a shell.
There are many videos aobut this lab here is one: https://www.youtube.com/watch?v=ckCPoqIH9s4