Feature: Implement initial macOS SimpleRemoter client
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user