This commit is contained in:
your-favorite-hacker
2015-07-05 21:29:26 +02:00
parent 0fc9a7e995
commit 902b8888e8
2 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
/* yes, this code will segfault if you dont give it an argument */
/* caller c tool
if you do not have a compiler, use perl:
perl -e 'syscall(211);'
*/
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <stdlib.h>
#include <sys/syscall.h>
void help(){
printf("rainroot caller\nuse appropiate syscallnumber (default: 210)\nexample: ./caller 210\n\nby dash\n");