Starting from:
$75

$69

Homwork 4 Solved/The goal of sploit0 is different from the rest of the exploits

The goal of sploit0 is different from the rest of the exploits. Take a look at target0.c, the output is "Grade = F" for any string (<30 bytes) you pass. Your goal as an attacker is to hijack the control flow of target0 to print "Grade = A". Use sploit0.c to generate and pass a "string" that is going to aid you in obtaining the desired grade, which is A obviously.
The rest of the exploits (sploit1 through sploit5), when run in the virtual machine with its target installed setuid-root in /tmp, should yield a root shell (/bin/sh).
For full credit you  must provide an explanation in the sploit[0-5].txt files. The explanation should be sufficiently detailed to explain how you arrived at your solution.
We will grade each of your exploits implementation on an all or nothing basis. So make sure your code works before submission!
Once again, sploit0-4 are required; sploit5 is extra credit. The total points for sploit0 is 10, each of sploit1-3 is worth 20 pts, and sploit4 is worth 30 pts. sploit5 is 20 points extra credit.

More products