Exploit databaseDownload repository ZIP
GH-7201b5682ef2a93ae07692d4b4d5e995
mzakocs/cve-2021-21551-poc
Sources for CVE-2021-21551
21 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files14
mzakocs/cve-2021-21551-pocRevision dae411dd47e2
- driver/
- .gitignore
- DbUtilAx.sln
- DbUtilAx.vcxproj
- DbUtilAx.vcxproj.filters
- DbUtilAx.vcxproj.user
- README.md
- logger.cpp
- logger.h
- main.cpp
- memory.cpp
- memory.h
- nt.h
- stdafx.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
logger.h
Text · 409 bytes#pragma once
#include "stdafx.h"
class Logger {
public:
// Log an info string to console
static void Info(std::string InfoMessage);
// Log an error string to console
static void Error(std::string ErrorMessage);
// Log an info string and a hex value to console
static void InfoHex(std::string InfoMessage, DWORD64 Number);
// Equivalent to PAUSE in batch scripting
static void ShowKeyPress();
};