Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我使用该SendInput()功能,但如果您安装低级鼠标钩子,LLMHF_INJECTED则设置表示输入已注入流中。有没有办法发送鼠标和键盘输入,所以LLMHF_INJECTED没有设置?
SendInput()
LLMHF_INJECTED
Raymond Chen 将这类问题描述为军备竞赛。假设 S 是欺骗此类注入的技术。然后会看到这里的问题,我如何检测 S 是否用于注入鼠标/键盘输入?这个标志的意义在于,微软认为欺骗是可能的,但可以检测到。
一种方法是安装您自己的低级挂钩处理程序并清除其中的 LLMHF_INJECTED。这种变化似乎会传播到链条上的所有其他钩子。