-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkexec doesn't work #5
Comments
Run it as a non-root user. The whole point of the exploit is to gain root privileges via a non-root user. |
I also tried with a non-root user but it does exactly the same. Maybe the problem comes from the code or from my machine ? |
Another option is that the target is not vulnerable. IIRC I saw that response on some patched systems too, but I might be wrong. I would suggest you test this on a system you know to be vulnerable, then patch it and try again. |
Ok, thanks for your quick response. What make the target vulnerable ? |
It's all about the version. According to https://github.com/cyberark/PwnKit-Hunter/blob/main/CVE-2021-4034_Finder.py versions below these are vulnerable: |
Hello, pkexec doesn't launch the pwnkit, has anyone encountered this problem ?
It seems that pkexec does not take into account the environment (the env variable in the program ):
The text was updated successfully, but these errors were encountered: