CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - gdi
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - gdi - List
[
Hook api
]
Windowsapidevelopment
DL : 0
Date
: 2025-12-30
Size
: 15kb
User
:
kkk
[
Hook api
]
APIH00k
DL : 0
API钩子系统一般框架 通常,我们把拦截API的调用的这个过程称为是安装一个API钩子(API Hook)。一个API钩子基本是由两个模块组成:一个是钩子服务器(Hook Server)模块,一般为EXE的形式;一个是钩子驱动器(Hook Driver)模块,一般为DLL的形式。 钩子服务器主要负责向目标进程注入钩子驱动器,使得钩子驱动器运行在目标进程的地址空间中,这是关键的第一步,而钩子驱动器则负责实际的API拦截处理工作,以便在我们所关心的API函数调用的之前或之后能做一些我们所希望的工作。一个比较常见的API钩子的例子就是一些实时翻译软件(像金山词霸)中必备的的功能:屏幕抓词。它主要是对一些Win32 API中的GDI函数进行了拦截,获取它们的输入参数中的字符串,然后在自己的窗口中显示出来。 针对上述关于API钩子的两个部分,有以下两点需要我们重点考虑的: 选用何种DLL注入技术,以及采用何种API拦截机制。 本篇文章来源于 黑基网-中国最大的网络安全站点 原文链接:file:///C:/Documents 20and 20Settings/jingtianzi/桌面/最新资料/黑客编程:hook系统函数-学院-黑基网.mht-General framework for API hook system Usually, we called this process intercept API calls is to install an API hook (API Hook,). An API hooks basically consists of two modules: one is the hook server (Hook, Server) module, generally in the form of EXE a hook drive (Hook Driver) module, generally in the form of a DLL. Hook server is mainly responsible to the target process inject hook driver device, hook-driven devices running on the target process address space, a critical first step, while the hook-driven device is responsible for the actual API to intercept processing so that in we are concerned with API functions before or after the call to do something we want. Example of a common API hook is some real-time translation software (such as necessary.) Function: screen grab word. It is mainly to intercept some of the Win32 API GDI functions to obtain the string in the input parameters, and then displayed in its own window. For the two parts of the API hook, the following two ke
Date
: 2025-12-30
Size
: 542kb
User
:
刘永
[
Hook api
]
GDI
DL : 0
截获当前的屏幕,并创建一个全局钩子,获取当前光标所在位置,在截屏上显示光标,和光标特效-Intercepted the current screen, and create a global hook to get the current cursor position on the screen shots show the cursor and cursor effects
Date
: 2025-12-30
Size
: 129kb
User
:
吴东明
[
Hook api
]
screenshotter
DL : 0
Python 截取屏幕快照 API 基于Windows GDI-Python Screen Shotter Windows GDI
Date
: 2025-12-30
Size
: 1kb
User
:
Shuan
[
Hook api
]
LransparentRegistry
DL : 0
GDI, MCI, Math, Registry, Windows info Transparent-GDI, MCI, Math, Registry, and Windows info Transparent
Date
: 2025-12-30
Size
: 325kb
User
:
elkwer
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.