// dllmain.cpp : Defines the entry point for the DLL application. #include <windows.h> #include <stdio.h> #include "pch.h" BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: MessageBox(NULL, L"DLL INjection!", L"BOX", MB_OKCANCEL); break; } return TRUE; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter