diff --git a/aha/insult.c b/aha/insult.c new file mode 100644 index 00000000000..ab594ded5f3 --- /dev/null +++ b/aha/insult.c @@ -0,0 +1,26 @@ +/* + * Insulting program that should be installed on the honeypot. + * The kernel then swaps the filename for do_execve with this one + * + * (c) 2010 Gerard Wagener + * LICENSE GPL + */ +#include +#include +#define N 4 +char* list[] = {"Fuck you", + "Is that all? I want to do more ...", + "Go away", + "I love you"}; + +int main(int argc, char* argv[]){ + int idx; + if (argc==2){ + idx=atoi(argv[1]); + if ((idx>=0) && (idx