malware-dev/4-dll-injection/my-dll/main.cpp
2023-11-03 16:58:05 +02:00

11 lines
270 B
C++

#include <Windows.h>
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD reason, LPVOID lpvReserved) {
switch (reason) {
case DLL_PROCESS_ATTACH:
MessageBoxW(NULL, L"WHO GOES THERE", L"KAW KAW KAW", MB_ICONEXCLAMATION);
break;
}
return TRUE;
}