Exploit databaseDownload repository ZIP
GH-b28484063590e86405e3991085cf9d87
sendinux/cve-2021-22600__dirtypagetable
Sources for CVE-2021-22600
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files6
sendinux/cve-2021-22600__dirtypagetableRevision 053a26117caf
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/env.h
Text · 499 bytes#include <stddef.h>
#include <sys/types.h> // Para uid_t y gid_t
static void do_unshare();
static void configure_uid_map(uid_t old_uid, gid_t old_gid);
static void configure_net_interfaces();
static void bring_interface_up(const char *ifname);
static void increase_fd_limit();
void write_file(const char *filename, const char *buf, size_t buflen, unsigned int flags);
void setup_env();
#if CONFIG_VERBOSE_
#define PRINTF_VERBOSE(...) printf(__VA_ARGS__)
#else
#define PRINTF_VERBOSE(...)
#endif