文件名称:HookCode

介绍说明--下载内容均来自于网络,请自行研究使用

VC++写的APIHook实例源代码,大致翻了一下,只挂引入表的函数,注入有SetWindowHookEx和CreateRemoteThread两种方式,进程枚举也区分了不同系统下使用的psai和toolhelp,另外为了获得Process的创建消息,做了一个驱动来注册回调函数,总的来说,在注入部分做得相当棒,如果想挂各种函数,可以结合detour使用。-VC++ to write the source code examples APIHook generally turned a bit, only linked to the introduction of the function table, there SetWindowHookEx and CreateRemoteThread into two ways, the process of enumeration to distinguish between the different systems are used psai and toolhelp, the other in order to obtain Process the creation of news, so a drive to register a callback function, in general, has done quite a part in the injection rod, if you want to hang a variety of functions can be combined with the use of detour.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

HookCode

........\Common

........\......\Common.h

........\......\CustomMessages.h

........\......\IniFile.cpp

........\......\IniFile.h

........\......\LockMgr.cpp

........\......\LockMgr.h

........\......\LogFile.h

........\......\ModuleInstance.cpp

........\......\ModuleInstance.h

........\......\SysUtils.h

........\HookSrv

........\.......\ApplicationScope.cpp

........\.......\ApplicationScope.h

........\.......\HookSrv.cpp

........\.......\HookSrv.dsp

........\.......\HookSrv.h

........\.......\HookSrv.plg

........\.......\HookSrv.rc

........\.......\LimitSingleInstance.cpp

........\.......\LimitSingleInstance.h

........\.......\MainFrm.cpp

........\.......\MainFrm.h

........\.......\res



........\.......\...\HookSrv.rc2

........\.......\...\trayicon.ico

........\.......\Resource.h

........\.......\StdAfx.cpp

........\.......\StdAfx.h

........\.......\TrayIcon.cpp

........\.......\TrayIcon.h

........\HookSystem.dsw

........\HookTool

........\........\ApiHook.cpp

........\........\ApiHook.h

........\........\HookTool.cpp

........\........\HookTool.def

........\........\HookTool.dsp

........\........\Injector.cpp

........\........\Injector.h

........\........\Interlocked.h

........\........\ModuleScope.cpp

........\........\ModuleScope.h

........\........\NtDriverController.cpp

........\........\NtDriverController.h

........\........\NtInjectorThread.cpp

........\........\NtInjectorThread.h

........\........\NtProcessMonitor.cpp

........\........\NtProcessMonitor.h

........\NTProcDrv

........\.........\NTProcDrv.c

........\.........\NTProcDrv.dsp

........\TestApp

........\.......\TestApp.cpp

........\.......\TestApp.dsp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org