文件名称:Input
介绍说明--下载内容均来自于网络,请自行研究使用
由于支付宝安全输入控件,如同其他众多安全控件方法一样,采用驱动方法劫持了IRP。这导致无法向其输入字符,传统的方法无论是发送WM_Char或者是WM_Keydown消息,还是Keybd_event和SendInput均对其无效。
笔者摸索出了通过直接读取$60,$64硬件端口来操作键盘,模拟输入的方法。
由于在Ring3下,由于Windows的保护机制,我无法直接操作硬件端口,所以我们需要构造一个驱动,或者使用著名的WinIo库。
这里给出我封装好的使用WinIo库进行模拟击键输入的代码,此段代码只在PS/2下测试通过,未在USB情况下测试。本代码主要封装了ASCII码或字符与键盘扫描码之间转换。
-Email security as a result of input controls, as many other methods of security control as a hostage-driven approach adopted IRP. This has led not to enter characters, both traditional methods WM_Char or send WM_Keydown news, or Keybd_event and its SendInput are null and void.
I explored through direct read $ 60, $ 64 hardware keyboard ports, analog input methods.
Ring3 because, as the Windows of the protection mechanism, I can not directly operate the hardware port, so we need to construct a drive, or the use of well-known WinIo library.
Given a good package here, I use the keyboard to simulate the Treasury WinIo enter the code, This code only in the PS/2 under the test is passed, no test in the USB case. The main package of the code of the ASCII code or character and switch between the keyboard scan code.
笔者摸索出了通过直接读取$60,$64硬件端口来操作键盘,模拟输入的方法。
由于在Ring3下,由于Windows的保护机制,我无法直接操作硬件端口,所以我们需要构造一个驱动,或者使用著名的WinIo库。
这里给出我封装好的使用WinIo库进行模拟击键输入的代码,此段代码只在PS/2下测试通过,未在USB情况下测试。本代码主要封装了ASCII码或字符与键盘扫描码之间转换。
-Email security as a result of input controls, as many other methods of security control as a hostage-driven approach adopted IRP. This has led not to enter characters, both traditional methods WM_Char or send WM_Keydown news, or Keybd_event and its SendInput are null and void.
I explored through direct read $ 60, $ 64 hardware keyboard ports, analog input methods.
Ring3 because, as the Windows of the protection mechanism, I can not directly operate the hardware port, so we need to construct a drive, or the use of well-known WinIo library.
Given a good package here, I use the keyboard to simulate the Treasury WinIo enter the code, This code only in the PS/2 under the test is passed, no test in the USB case. The main package of the code of the ASCII code or character and switch between the keyboard scan code.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
alipay_Interface.pas
uWinIo.pas
WinIo.dll
WinIo.sys
uWinIo.pas
WinIo.dll
WinIo.sys