version 0.2, added hidefunction so mod is not found anymore easily
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user