Exploit databaseDownload repository ZIP
GH-de0d6fef6cb652486420bdcfd969623d
oppressionbreedsresistance/cve-2021-1675-printnightmare
Sources for CVE-2021-1675
56 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files6
oppressionbreedsresistance/cve-2021-1675-printnightmareRevision 0439d2b3254e
- ↑..Parent directory
- MyDLL2.cpp
- MyDLL2.h
- MyDLL2.vcxproj
- MyDLL2.vcxproj.filters
- printer_clean.ps1
- printer_obf.ps1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
MyDLL2/MyDLL2.h
Text · 617 bytes#pragma once
#include <Windows.h>
//more about this in reference 1
#ifdef DLLDIR_EX
#define DLLDIR __declspec(dllexport) // export DLL information
#else
#define DLLDIR __declspec(dllimport) // import DLL information
#endif
extern "C" void __declspec(dllexport) CALLBACK
Function(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow);
extern "C" void DLLDIR CALLBACK sayHello();
//extern "C" int DLLDIR owned(HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow);
//extern "C"
//int DLLDIR owned();
/*
class DLLDIR HelloDLL
{
public:
HelloDLL(void);
~HelloDLL(void);
int owned();
};
*/