programs/C3.c
author Christian Urban <urbanc@in.tum.de>
Tue, 30 Oct 2012 14:27:59 +0000
changeset 60 93578c484ab1
parent 27 5bf1f248407c
permissions -rw-r--r--
tuned

#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;
}