Exploit databaseDownload repository ZIP
GH-c16311f23530491d5d0fffd54654b38e
whokilleddb/cve-2021-4034
Sources for CVE-2021-4034
144 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files1
whokilleddb/cve-2021-4034Revision 6002119669ef
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/config.h
Text · 749 bytes#include <stdlib.h>
#include <stdio.h>
#pragma once
#define RED(string) "\x1b[31m" string "\x1b[0m"
#define GREEN(string) "\x1b[32m" string "\x1b[0m"
#define YELLOW(string) "\x1b[33m" string "\x1b[0m"
#define BLUE(string) "\x1b[34m" string "\x1b[0m"
#define MAGENTA(string) "\x1b[35m" string "\x1b[0m"
#define CYAN(string) "\x1b[36m" string "\x1b[0m"
#define exit_on_error(msg) ({fprintf(stderr,"[" RED("-") "] %s\n",msg); exit(EXIT_FAILURE);})
#define print_success(msg) ({fprintf(stdout,"[" GREEN("+") "] %s\n",msg);})
#define print_info(msg) ({fprintf(stdout,"[" CYAN("!") "] %s\n",msg);})
#define PKEXEC "/usr/bin/pkexec"
#define SHELL "/bin/sh"
#define DIR ".sus"
#define SHARED_OBJECT "exploit"
#define AUTHOR "whokilleddb"