Attic/programs/C3.c
author Christian Urban <urbanc@in.tum.de>
Sat, 09 Jun 2018 21:01:46 +0100
changeset 565 d58f8e3e78a5
parent 198 2ce98ee39990
permissions -rw-r--r--
updated

#include<stdio.h>
#include<string.h>

// simple program used for a bufferflow attack
//
// for installation notes see C0.c
//
// can be called with 
//
//   ./C3 `./args3`

main(int argc, char **argv)
{
        char buffer[80];

        strcpy(buffer, argv[1]);

        return 1;
}