From e1f048c8f922613aec1f63791c2191e55cbd5132 Mon Sep 17 00:00:00 2001 From: boris Date: Thu, 3 Jan 2019 16:51:40 +1300 Subject: ricardo milos :DDDD::D:D:D: --- .../csgo-client/RemoteCode/RemoteCodeClient.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp') diff --git a/csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp b/csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp index 964d055..84021c6 100644 --- a/csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp +++ b/csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp @@ -6,6 +6,28 @@ namespace RemoteCode { class RemoteCodeClient { + using MemProtect = bool(__stdcall *)(void *, size_t, uint32_t, uint32_t *); + struct ShellcodeParameters + { + // Specifies whether or not the thread hijacking + // exploit will be used for code execution. + uint8_t m_ThreadExploit; + + // Address of the module allocation base + uintptr_t m_AllocationBase; + + // Specifies the entry-point / optional TLS directory + // to invoke. + uintptr_t m_EntryPoint; + uintptr_t m_TlsDirectory; + + // Thread hijacking (original address & VMT) + uintptr_t m_ThreadOriginal; + uintptr_t m_ThreadVirtual; + + // Function parameters that will be passed + MemProtect m_ProtectMemory; + }; }; } \ No newline at end of file -- cgit v1.2.3