Is there a way to detect which programs or modules are listening to a keyboard hook? By Sysinternals maybe?
相关问题
- “Zero out” sensitive String data in Swift
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- How do you detect key up / key down events from a
- CosmosDB emulator can't start since port is al
- Security concerns about CORS
I don't think you can, there's no GetWindowsHook function that would return the hook(s). Also, I'm under the impression that the main keyboard processing routine is hooked through SetWindowsHookEx(), so even if there are no hooks, there's at least one, Windows itself.
Nope. You would likely have to hook into SetWindowsHookEx() itself in order to detect that.
It largely depends on what level of abstraction are you obtaining your key presses.
For maximum detection you could use hardware directly or go as low as possible (some hooks work at HW driver-level).
For security purposes, you could also use a virtual keyboard - hooks would have to be targeted specifically at your application to simulate key presses.
This blog post has instructions: http://zairon.wordpress.com/2006/12/06/any-application-defined-hook-procedure-on-my-machine/