Exploit database

GH-de0d6fef6cb652486420bdcfd969623d

oppressionbreedsresistance/cve-2021-1675-printnightmare

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-1675

56 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6

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();

};
*/