From c0f1354a301ce2a2fc867a89fafdde4571c07c02 Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 2 Jan 2019 21:11:03 +1300 Subject: 6IX9INE "Billy" (WSHH Exclusive - Official Music Video) --- .../csgo-client/Security/RuntimeSecurity.hpp | 25 ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp') diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp index 08e6490..06df3bf 100644 --- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp +++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp @@ -10,6 +10,9 @@ #include #include +// IOCTL +#include + // EnumDeviceDrivers #include @@ -47,6 +50,19 @@ namespace Security { + // Sigh.. + struct CodeIntegrityInformation { + uint32_t m_Size; + uint32_t m_Options; + }; + + enum SpecialMode { + SAFE_MODE, + TEST_SIGN_MODE, + TEST_BUILD_MODE, + DEBUGGING_MODE + }; + // Hardware ID structure (this is hashed and sent to server, but it's easier to use it // this way internally) struct HardwareIdentifier @@ -54,15 +70,12 @@ namespace Security // Generic CPU information. uint16_t m_CpuArchitecture; uint32_t m_CpuCount; - - // Contains list of CPU features. - char m_CpuFeatures[64]; - + // Hash of the hard disk serial identifier. - uint32_t m_HardDiskSerialHash; + uint64_t m_HardDiskSerialHash; // Safe-mode/Test-signing mode status - uint8_t m_SpecialMode[2]; + uint8_t m_SpecialMode[4]; }; // This class implements the runtime security system. -- cgit v1.2.3