文件名称:HookToolsrc
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:66.79kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
前两天有个朋友想让我帮做个ApiHook的东西,公司的网较慢,只能搜国内网站,结果搜了n个没有完整原代码,极度郁闷,现转一个codeproject的原代码,以后也方便自己下载使用。
说明一下,这个代码在CodeProject有下,代码我大致翻了一下,只挂引入表的函数,注入有SetWindowHookEx和CreateRemoteThread两种方式,进程枚举也区分了不同系统下使用的psai和toolhelp,另外为了获得Process的创建消息,做了一个驱动来注册回调函数,总的来说,在注入部分做得相当棒,如果想挂各种函
数,可以结合detour使用。
-A couple of days ago a friend wanted me to help be a ApiHook things, the company' s Net slow, can only be found internally website, the results of the n-found no complete source code, an extremely depressing, it is a codeproject to the original code, after Convenience also download their own use. Explain that this code has CodeProject, the code I am generally turned a little, only linked to the introduction of the function table into SetWindowHookEx and CreateRemoteThread have two ways, the process of enumeration to distinguish between the different systems are used psai and toolhelp, the other in order to Process to create access to the message, make a drive to register a callback function, in general, has done quite a part in the injection rod, if want to hang a variety of functions, can be combined to use detour.
说明一下,这个代码在CodeProject有下,代码我大致翻了一下,只挂引入表的函数,注入有SetWindowHookEx和CreateRemoteThread两种方式,进程枚举也区分了不同系统下使用的psai和toolhelp,另外为了获得Process的创建消息,做了一个驱动来注册回调函数,总的来说,在注入部分做得相当棒,如果想挂各种函
数,可以结合detour使用。
-A couple of days ago a friend wanted me to help be a ApiHook things, the company' s Net slow, can only be found internally website, the results of the n-found no complete source code, an extremely depressing, it is a codeproject to the original code, after Convenience also download their own use. Explain that this code has CodeProject, the code I am generally turned a little, only linked to the introduction of the function table into SetWindowHookEx and CreateRemoteThread have two ways, the process of enumeration to distinguish between the different systems are used psai and toolhelp, the other in order to Process to create access to the message, make a drive to register a callback function, in general, has done quite a part in the injection rod, if want to hang a variety of functions, can be combined to use detour.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
NTProcDrv
NTProcDrv/NTProcDrv.c
NTProcDrv/NTProcDrv.dsp
TestApp
TestApp/TestApp.cpp
TestApp/TestApp.dsp
HookSystem.dsw
Common
Common/Common.h
Common/CustomMessages.h
Common/IniFile.cpp
Common/IniFile.h
Common/LockMgr.cpp
Common/LockMgr.h
Common/LogFile.h
Common/ModuleInstance.cpp
Common/ModuleInstance.h
Common/SysUtils.h
HookSrv
HookSrv/ApplicationScope.cpp
HookSrv/ApplicationScope.h
HookSrv/HookSrv.cpp
HookSrv/HookSrv.dsp
HookSrv/HookSrv.h
HookSrv/HookSrv.plg
HookSrv/HookSrv.rc
HookSrv/LimitSingleInstance.cpp
HookSrv/LimitSingleInstance.h
HookSrv/MainFrm.cpp
HookSrv/MainFrm.h
HookSrv/res
HookSrv/res/HookSrv.ico
HookSrv/res/HookSrv.rc2
HookSrv/res/trayicon.ico
HookSrv/res/_PAlbTN
HookSrv/res/_PAlbTN/HookSrv.ico_160x120
HookSrv/res/_PAlbTN/TRAYICON.ICO_160x120
HookSrv/Resource.h
HookSrv/StdAfx.cpp
HookSrv/StdAfx.h
HookSrv/TrayIcon.cpp
HookSrv/TrayIcon.h
HookTool
HookTool/ApiHook.cpp
HookTool/ApiHook.h
HookTool/HookTool.cpp
HookTool/HookTool.def
HookTool/HookTool.dsp
HookTool/Injector.cpp
HookTool/Injector.h
HookTool/Interlocked.h
HookTool/ModuleScope.cpp
HookTool/ModuleScope.h
HookTool/NtDriverController.cpp
HookTool/NtDriverController.h
HookTool/NtInjectorThread.cpp
HookTool/NtInjectorThread.h
HookTool/NtProcessMonitor.cpp
HookTool/NtProcessMonitor.h
NTProcDrv/NTProcDrv.c
NTProcDrv/NTProcDrv.dsp
TestApp
TestApp/TestApp.cpp
TestApp/TestApp.dsp
HookSystem.dsw
Common
Common/Common.h
Common/CustomMessages.h
Common/IniFile.cpp
Common/IniFile.h
Common/LockMgr.cpp
Common/LockMgr.h
Common/LogFile.h
Common/ModuleInstance.cpp
Common/ModuleInstance.h
Common/SysUtils.h
HookSrv
HookSrv/ApplicationScope.cpp
HookSrv/ApplicationScope.h
HookSrv/HookSrv.cpp
HookSrv/HookSrv.dsp
HookSrv/HookSrv.h
HookSrv/HookSrv.plg
HookSrv/HookSrv.rc
HookSrv/LimitSingleInstance.cpp
HookSrv/LimitSingleInstance.h
HookSrv/MainFrm.cpp
HookSrv/MainFrm.h
HookSrv/res
HookSrv/res/HookSrv.ico
HookSrv/res/HookSrv.rc2
HookSrv/res/trayicon.ico
HookSrv/res/_PAlbTN
HookSrv/res/_PAlbTN/HookSrv.ico_160x120
HookSrv/res/_PAlbTN/TRAYICON.ICO_160x120
HookSrv/Resource.h
HookSrv/StdAfx.cpp
HookSrv/StdAfx.h
HookSrv/TrayIcon.cpp
HookSrv/TrayIcon.h
HookTool
HookTool/ApiHook.cpp
HookTool/ApiHook.h
HookTool/HookTool.cpp
HookTool/HookTool.def
HookTool/HookTool.dsp
HookTool/Injector.cpp
HookTool/Injector.h
HookTool/Interlocked.h
HookTool/ModuleScope.cpp
HookTool/ModuleScope.h
HookTool/NtDriverController.cpp
HookTool/NtDriverController.h
HookTool/NtInjectorThread.cpp
HookTool/NtInjectorThread.h
HookTool/NtProcessMonitor.cpp
HookTool/NtProcessMonitor.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.