他人の空似自作物置場
seh_exploit.zip/exploit2_safeseh/dllmain.cpp
#include <cstdio>
#include <Windows.h>
#define DLL_EXPORT_FLAG
#include "dllmain.h"
void call() {
::MessageBoxA(NULL, "message", "title", MB_OK);
::exit(0);
}
unsigned int xor(const unsigned int a, const unsigned int b) {
return a ^ b;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
return TRUE;
}