diff options
| author | boris <wzn@moneybot.cc> | 2019-01-03 16:51:40 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2019-01-03 16:51:40 +1300 |
| commit | e1f048c8f922613aec1f63791c2191e55cbd5132 (patch) | |
| tree | 887f57c58673e775bff8c1df3f23943ef8ddd6cd /csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp | |
| parent | c0f1354a301ce2a2fc867a89fafdde4571c07c02 (diff) | |
ricardo milos :DDDD::D:D:D:
Diffstat (limited to 'csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp')
| -rw-r--r-- | csgo-loader/csgo-client/RemoteCode/RemoteCodeClient.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
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 |
