summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2019-01-03 16:51:40 +1300
committerboris <wzn@moneybot.cc>2019-01-03 16:51:40 +1300
commite1f048c8f922613aec1f63791c2191e55cbd5132 (patch)
tree887f57c58673e775bff8c1df3f23943ef8ddd6cd /csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
parentc0f1354a301ce2a2fc867a89fafdde4571c07c02 (diff)
ricardo milos :DDDD::D:D:D:
Diffstat (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp')
-rw-r--r--csgo-loader/csgo-client/Security/RuntimeSecurity.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
index 06df3bf..6446a08 100644
--- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
+++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
@@ -74,6 +74,9 @@ namespace Security
// Hash of the hard disk serial identifier.
uint64_t m_HardDiskSerialHash;
+ // VMP HWID
+ char m_CustomDetail[256];
+
// Safe-mode/Test-signing mode status
uint8_t m_SpecialMode[4];
};
@@ -87,6 +90,8 @@ namespace Security
// any potentially malicious actions from users.
class RuntimeSecurity
{
+ HardwareIdentifier m_Identifier;
+
protected:
// Applies necessary API hooks.
bool ApplyApiHooks();
@@ -97,6 +102,9 @@ namespace Security
// Dispatches security threads.
void DispatchSecurityThreads();
+ // Grabs all hardware data.
+ void SetupSystemIdentifier();
+
// The following functions are used in security threads to run checks.
void CheckForVirtualMachine();