Fix the problem with the keylogging feature

This commit is contained in:
yuanyuanxiang
2025-06-26 02:07:00 +08:00
parent 371f359541
commit 246fb01bf5
16 changed files with 699 additions and 203 deletions

15
client/keylogger.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <Windows.h>
// <20>Ƿ<EFBFBD>ʹ<EFBFBD><CAB9>ȫ<EFBFBD>ּ<EFBFBD><D6BC>̹<EFBFBD><CCB9><EFBFBD>
#define USING_KB_HOOK 1
#define GET_PROCESS_EASY(p)
#define GET_PROCESS(p, q)
typedef int (CALLBACK* Callback)(const char* record, void* user);
bool SetHook(Callback callback, void* user);
void ReleaseHook();