登录 注册
当前位置:主页 > 资源下载 > APIHookingComplete下载

APIHookingComplete下载

  • 更新:2024-09-21 14:31:14
  • 大小:142KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Windows Server - 操作系统
  • 格式:ZIP

资源介绍

如何使用Windows 钩子. In this article, I will be discussing the topic of API hooking. API hooking consists of intercepting a function call in a program and redirecting it to another function. By doing this, the parameters can be modified, the original program can be tricked if you choose to return an error code when really it should be successful, and so on. All of this is done before the real function is called, and in the end, after modifying/storing/extending the original function/parameters, control is handed back over to the original function until it is called again. This article requires an in-depth knowledge of C++ to fully comprehend. I will be using the Microsoft Detours Library, which is free to download. In order to successfully compile the code examples provided, you need to run the Makefile that comes with the Detours library and have it build the library files and everything else. Instructions for doing this can be found on the MSDN forums or elsewhere on the Internet. For the sake of space, the code samples posted in this article are uncommented, but have explanations that lead into them or follow from them. The code in the sample download is fully commented.