Feature: Implement initial macOS SimpleRemoter client

This commit is contained in:
yuanyuanxiang
2026-04-29 23:25:32 +02:00
parent 7a90d217f3
commit f2a184e760
23 changed files with 2958 additions and 21 deletions

View File

@@ -41,7 +41,10 @@
typedef int64_t __int64;
typedef uint16_t WORD;
typedef uint32_t DWORD;
typedef int BOOL, SOCKET;
#ifndef BOOL
typedef bool BOOL;
#endif
typedef int SOCKET;
typedef unsigned int ULONG;
typedef unsigned int UINT;
typedef void VOID;
@@ -533,6 +536,7 @@ enum {
CLIENT_TYPE_SHELLCODE = 4, // Shellcode
CLIENT_TYPE_MEMDLL = 5, // 内存DLL运行
CLIENT_TYPE_LINUX = 6, // LINUX 客户端
CLIENT_TYPE_MACOS = 7, // MACOS 客户端
};
enum {
@@ -558,6 +562,8 @@ inline const char* GetClientType(int typ)
return "MDLL";
case CLIENT_TYPE_LINUX:
return "LNX";
case CLIENT_TYPE_MACOS:
return "MAC";
default:
return "DLL";
}