add rainroot

This commit is contained in:
your-favorite-hacker
2015-06-01 21:04:51 +02:00
parent 19d7d5ab03
commit 094b73988e
5 changed files with 116 additions and 0 deletions

15
rainroot/caller.c Normal file
View File

@@ -0,0 +1,15 @@
/* yes, this code will segfault if you dont give it an argument */
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <stdlib.h>
int main(int argc, char *argv[]){
int scall=-1;
scall = atoi(argv[1]);
syscall(scall);
return(0);
}