Dropped privileges from root to nobody, added capabilities with capsh

This commit is contained in:
DomySh
2022-08-02 13:13:58 +00:00
parent 41033c599e
commit 02ae916f58
4 changed files with 22 additions and 13 deletions

View File

@@ -20,9 +20,4 @@ bool unhexlify(std::string const &hex, std::string &newString) {
}
}
bool is_sudo(){
return getuid() == 0;
}
#endif