7 lines
No EOL
130 B
C
7 lines
No EOL
130 B
C
#include <unistd.h>
|
|
int main() {
|
|
char *args[2];
|
|
args[0] = "/bin/rootshell";
|
|
args[1] = NULL;
|
|
execve(args[0], args, NULL);
|
|
} |