AlessandroZ / BeRoot

Privilege Escalation Project - Windows / Linux / Mac
GNU Lesser General Public License v3.0
2.44k stars 466 forks source link

Fix error caused by using different system language from English #42

Closed D3vil0p3r closed 1 week ago

D3vil0p3r commented 1 week ago

If the system language is different from English, the tool cannot find the "User " string from sudo -S -ll command output. Used whoami run command to be independent from language and to get the current username.