Protostar
Exploit Exercises - …
This challenge is pretty much the same as the previous challenge, except that the buffer comes from an environmental variable.
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
volatile int modified;
char …Exploit Exercises - …
This challenge is very similar to the previous one. The main difference is that instead of just validating that the “modified” value was changed, it validates that it was changed to a specific value, 0x61626364, or “dcba” in ASCII.
#include <stdlib.h>
#include …