資源簡介
DR.COM自動測試帳號器.rar

代碼片段和文件信息
/******************************************************************************
Module:??APIHook.cpp
Notices:?Copyright?(c)?2008?Jeffrey?Richter?&?Christophe?Nasarre
******************************************************************************/
#include?“stdafx.h“
#include?
#pragma?comment(lib?“ImageHlp“)
#include?“APIHook.h“
#include?“Toolhelp.h“
#include?
/////////////////////////////////////////////////////////////////////////////////
//?The?head?of?the?linked-list?of?CAPIHook?objects
CAPIHook*?CAPIHook::sm_pHead?=?NULL;
//?By?default?the?module?containing?the?CAPIHook()?is?not?hooked
BOOL?CAPIHook::ExcludeAPIHookMod?=?TRUE;?
///////////////////////////////////////////////////////////////////////////////
CAPIHook::CAPIHook(PSTR?pszCalleeModName?PSTR?pszFuncName?PROC?pfnHook)?{
???//?Note:?the?function?can?be?hooked?only?if?the?exporting?module?
???//???????is?already?loaded.?A?solution?could?be?to?store?the?function
???//???????name?as?a?member;?then?in?the?hooked?LoadLibrary*?handlers?parse
???//???????the?list?of?CAPIHook?instances?check?if?pszCalleeModName
???//???????is?the?name?of?the?loaded?module?to?hook?its?export?table?and?
???//???????re-hook?the?import?tables?of?all?loaded?modules.
??
???m_pNext??=?sm_pHead;????//?The?next?node?was?at?the?head
???sm_pHead?=?this;????????//?This?node?is?now?at?the?head
???//?Save?information?about?this?hooked?function
???m_pszCalleeModName???=?pszCalleeModName;
???m_pszFuncName????????=?pszFuncName;
???m_pfnHook????????????=?pfnHook;
???m_pfnOrig????????????=?
??????GetProcAddressRaw(GetModuleHandleA(pszCalleeModName)?m_pszFuncName);
???//?If?function?does?not?exit...?bye?bye
???//?This?happens?when?the?module?is?not?already?loaded
???if?(m_pfnOrig?==?NULL)
???{
??????wchar_t?szPathname[MAX_PATH];
??????GetModuleFileNameW(NULL?szPathname?_countof(szPathname));
??????wchar_t?sz[1024];
??????StringCchPrintfW(sz?_countof(sz)?
?????????TEXT(“[%4u?-?%s]?impossible?to?find?%S\r\n“)?
?????????GetCurrentProcessId()?szPathname?pszFuncName);
??????OutputDebugString(sz);
??????return;
???}
???
#ifdef?_DEBUG
???//?This?section?was?used?for?debugging?sessions?when?Explorer?died?as?
???//?a?folder?content?was?requested
???//?
???//static?BOOL?s_bFirstTime?=?TRUE;
???//if?(s_bFirstTime)
???//{
???//???s_bFirstTime?=?FALSE;
???//???wchar_t?szPathname[MAX_PATH];
???//???GetModuleFileNameW(NULL?szPathname?_countof(szPathname));
???//???wchar_t*?pszExeFile?=?wcsrchr(szPathname?L‘\\‘)?+?1;
???//???OutputDebugStringW(L“Injected?in?“);
???//???OutputDebugStringW(pszExeFile);
???//???if?(_wcsicmp(pszExeFile?L“Explorer.EXE“)?==?0)
???//???{
???//??????DebugBreak();
???//???}
???//???OutputDebugStringW(L“\n???-->?“);
???//???StringCchPrintfW(szPathname?_countof(szPathname)?L“%S“?pszFuncName);
???//???OutputDebugStringW(szPathname);
???//???OutputDebugStringW(L“\n“);
???//}
#endif
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????30??2012-05-25?19:17??DR.COM破解(針對2011.11.8新版客戶端)\account.ini
?????文件????????582??2012-05-25?19:08??DR.COM破解(針對2011.11.8新版客戶端)\AccountAndPassword.lua
?????文件????????598??2012-05-25?19:01??DR.COM破解(針對2011.11.8新版客戶端)\AccountAndPassword.lua.bak
?????文件?????989409??2012-05-24?10:17??DR.COM破解(針對2011.11.8新版客戶端)\client.dmp
?????文件?????608604??2012-05-25?19:16??DR.COM破解(針對2011.11.8新版客戶端)\client.log
?????文件??????86696??2011-11-10?21:33??DR.COM破解(針對2011.11.8新版客戶端)\DllCrackedByDC.dll
?????文件??????25088??2012-05-25?19:16??DR.COM破解(針對2011.11.8新版客戶端)\DrBugReporter.exe
?????文件???????2044??2011-11-10?22:01??DR.COM破解(針對2011.11.8新版客戶端)\drcom.cfg
?????文件??????43176??2011-11-10?19:54??DR.COM破解(針對2011.11.8新版客戶端)\drcomdll.dll
?????文件?????200543??2012-05-25?19:16??DR.COM破解(針對2011.11.8新版客戶端)\drcomdll.log
?????文件??????43176??2011-11-10?19:54??DR.COM破解(針對2011.11.8新版客戶端)\drcomdll2.dll
?????文件?????????11??2012-05-25?17:25??DR.COM破解(針對2011.11.8新版客戶端)\edata.dat
?????文件????1097728??2012-05-21?15:50??DR.COM破解(針對2011.11.8新版客戶端)\HOOK\ishare.exe
?????文件?????165888??2012-05-25?19:17??DR.COM破解(針對2011.11.8新版客戶端)\HookDrcom.dll
?????文件????1097728??2012-05-25?18:57??DR.COM破解(針對2011.11.8新版客戶端)\ishare.exe
?????文件????1093632??2012-04-24?19:21??DR.COM破解(針對2011.11.8新版客戶端)\ishare.exe.bak
?????文件????1097728??2012-05-25?11:29??DR.COM破解(針對2011.11.8新版客戶端)\ishare2.exe
?????文件???????2044??2012-05-25?19:16??DR.COM破解(針對2011.11.8新版客戶端)\ishare_user.dat
?????文件??????????0??2011-12-05?12:23??DR.COM破解(針對2011.11.8新版客戶端)\login2.dat
?????文件??????45568??2011-09-28?00:20??DR.COM破解(針對2011.11.8新版客戶端)\mac?patch.exe
?????文件?????????49??2012-05-25?17:25??DR.COM破解(針對2011.11.8新版客戶端)\update.ini
?????文件????1093632??2012-05-21?22:21??DR.COM破解(針對2011.11.8新版客戶端)\副本\ishare.exe
?????文件????????906??2011-11-10?22:02??DR.COM破解(針對2011.11.8新版客戶端)\破解說明.txt
?????目錄??????????0??2012-05-24?00:21??DR.COM破解(針對2011.11.8新版客戶端)\HOOK
?????目錄??????????0??2012-05-24?00:21??DR.COM破解(針對2011.11.8新版客戶端)\副本
?????目錄??????????0??2012-05-25?19:17??DR.COM破解(針對2011.11.8新版客戶端)
?????文件???????1261??2012-05-30?22:15??破解說明.txt
?????文件???????8902??2011-09-17?16:06??DRCOM?自動測試源碼\CmnHdr.h
?????文件???????1592??2012-05-21?15:11??DRCOM?自動測試源碼\HookDrom.sln
????..A..H.?????87040??2012-05-30?22:08??DRCOM?自動測試源碼\HookDrom.suo
............此處省略146個文件信息
評論
共有 條評論