changeset 105 | 40c51038c9e4 |
child 230 | 603cbd28e988 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/progs/C3.c Mon Sep 30 23:57:44 2013 +0100 @@ -0,0 +1,19 @@ +#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; +}