From 6c20307070e096456d3a36722f65ddaa38bcb100 Mon Sep 17 00:00:00 2001 From: boris Date: Thu, 10 Jan 2019 15:44:40 +1300 Subject: aaaaaajh --- csgo-loader/csgo-client/RemoteCode/RemoteMapper.hpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'csgo-loader/csgo-client/RemoteCode/RemoteMapper.hpp') diff --git a/csgo-loader/csgo-client/RemoteCode/RemoteMapper.hpp b/csgo-loader/csgo-client/RemoteCode/RemoteMapper.hpp index 21eb569..53bc049 100644 --- a/csgo-loader/csgo-client/RemoteCode/RemoteMapper.hpp +++ b/csgo-loader/csgo-client/RemoteCode/RemoteMapper.hpp @@ -4,10 +4,18 @@ namespace RemoteCode { + struct RemoteImport + { + char m_Module[128]; + char m_Import[128]; + }; + class RemoteMapper { RemoteProcess m_Process; - uint8_t *m_Mapped; + + ByteArray m_Code; + ByteArray m_Mapped; void *m_Map; @@ -15,10 +23,10 @@ namespace RemoteCode RemoteMapper() = default; // Copy process & shellcode to class. - bool Start(RemoteProcess Process); + bool Start(RemoteProcess &Process, ByteArray &Code); // Writes code to process in allocated page. - bool WriteCodeToMap(ByteArray Code); + bool WriteCodeToMap(); // Calls shellcode to call the library ;D bool ExecuteCodeFromMap(); -- cgit v1.2.3