调用服务端 Memory 类的 GetDefinedStruct 接口获取程序中已定义的所有结构体信息。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_defined_struct())输出JSON格式{ status: success, result: { defined_types: [ { ordinal: 1, get_success: true, name: _GUID, size_bytes: 16, size_hex: 0x10, is_union: false, is_struct: true, is_enum: false, is_typedef: false, is_ptr: false, is_array: false, type_string: _GUID }, { ordinal: 2, get_success: true, name: GUID, size_bytes: 16, size_hex: 0x10, is_union: false, is_struct: true, is_enum: false, is_typedef: true, is_ptr: false, is_array: false, type_string: GUID }, { ordinal: 3, get_success: true, name: _EH4_SCOPETABLE_RECORD, size_bytes: 12, size_hex: 0xC, is_union: false, is_struct: true, is_enum: false, is_typedef: false, is_ptr: false, is_array: false, type_string: _EH4_SCOPETABLE_RECORD } ], total_count: 79 }, timestamp: 35726906 }get_memory_byte接收地址参数验证地址格式后调用服务端 Memory 类的 GetMemoryByte 接口获取指定地址的 1 字节内存数据。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_memory_byte(0x401000))输出JSON格式{ status: success, result: { address: 4198400, address_hex: 0x401000, byte_value: 85, byte_hex: 55 }, timestamp: 35917234 }get_memory_word接收地址参数验证地址格式后调用服务端 Memory 类的 GetMemoryWord 接口获取指定地址的 2 字节Word内存数据。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_memory_word(0x401000))输出JSON格式{ status: success, result: { address: 4198400, address_hex: 0x401000, word_value: 35669, word_hex: 8B55 }, timestamp: 36064421 }get_memory_dwordfrom IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_memory_dword(0x401000))输出JSON格式{ status: success, result: { address: 4198400, address_hex: 0x401000, dword_value: 2213317461, dword_hex: 83EC8B55 }, timestamp: 36239218 }get_memory_qword接收地址参数验证地址格式后调用服务端 Memory 类的 GetMemoryQword 接口获取指定地址的 8 字节Qword内存数据。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_memory_qword(0x401000))输出JSON格式{ status: success, result: { address: 4198400, address_hex: 0x401000, qword_value: 10040244221420278000, qword_hex: -74A9E3137C1374AB }, timestamp: 36541093 }get_memory_bytes接收地址和长度参数验证地址格式并校验长度为正数后调用服务端 Memory 类的 GetMemoryBytes 接口获取指定地址开始的指定长度内存数据。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_memory_bytes(0x401000,5))输出JSON格式{ status: success, result: { address: 4198400, address_hex: 0x401000, requested_length: 5, actual_length: 5, bytes: [ 85, 139, 236, 131, 236 ], bytes_hex: [ 55, 8b, ec, 83, ec ] }, timestamp: 36614296 }get_string_info调用服务端 Memory 类的 GetStringInfo 接口获取程序中所有字符串相关信息。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_string_info())输出JSON格式{ status: success, result: { strings: [ { index: 0, start_address: 4203052, start_address_hex: 0x40222C, end_address: 4203143, end_address_hex: 0x402287, size: 91 }, { index: 1, start_address: 4203176, start_address_hex: 0x4022A8, end_address: 4203185, end_address_hex: 0x4022B1, size: 9 }, { index: 2, start_address: 4203196, start_address_hex: 0x4022BC, end_address: 4203205, end_address_hex: 0x4022C5, size: 9 } ], total_count: 94 }, timestamp: 36942859 }get_memory_search接收起始地址、结束地址和搜索参数验证地址格式并校验搜索参数非空后调用服务端 Memory 类的 MemorySearch 接口在指定地址范围内搜索指定内容。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_memory_search(0x401000,0x402000,688033))输出JSON格式{ status: success, result: { found_address: 4198431, found_address_hex: 0x40101F, searched_pattern: 688033, search_start: 4198400, search_start_hex: 0x401000, search_end: 4202496, search_end_hex: 0x402000 }, timestamp: 37278640 }get_type_by_name接收类型名称参数校验非空后调用服务端 Memory 类的 GetTypeByName 接口根据名称获取对应的类型定义信息。from IDAMoles import * if __name__ __main__: configConfig(address127.0.0.1,port8000) client BaseHttpClient(config) info_page Memory(config) print(info_page.get_type_by_name(_GUID))输出JSON格式{ status: success, result: { type_info: { original_name: _GUID, size_bytes: 16 } }, timestamp: 37370109