12 lines
164 B
C
12 lines
164 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int main() {
|
||
|
char *name[2];
|
||
|
|
||
|
name[0] = "/bin/sh";
|
||
|
name[1] = 0x0;
|
||
|
execve(name[0], name, 0x0);
|
||
|
exit(0);
|
||
|
}
|