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