diff options
| author | boris <wzn@moneybot.cc> | 2019-01-01 20:31:51 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2019-01-01 20:31:51 +1300 |
| commit | 7a3b48831bfc9c4aa8c39c1e42d5bf5dd73e43c5 (patch) | |
| tree | 954898c772081536a5ff4dc36a42591608b797c0 /csgo-loader/csgo-client/Security/RuntimeSecurity.hpp | |
| parent | b9702fe8541e61f27f5c788dc72feaefe5abfc0d (diff) | |
whole buncha fixes & switching to vmp
Diffstat (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp')
| -rw-r--r-- | csgo-loader/csgo-client/Security/RuntimeSecurity.hpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp index f74e778..9fe5c51 100644 --- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp +++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp @@ -10,13 +10,17 @@ #include <windows.h>
#include <winternl.h>
+// EnumDeviceDrivers
+#include <psapi.h>
+
// WinInet
#include <wininet.h>
#pragma comment(lib, "wininet.lib")
-// Required for the SDK from Themida which offers multiple
-// virtual machines and string encryption, as well as debug/VM checks.
-#include <ThemidaSDK.h>
+// Required for the SDK from VMP which offers
+// virtual machines and string encryption, as
+// well as debug/VM checks.
+
// Required for MinHook.
#include <MinHook.h>
@@ -35,9 +39,6 @@ // Sick macros, retard.
#define WRAP_IF_RELEASE( s ) { s; }
#define WRAP_IF_DEBUG( s )
-
- // Link against Themida's SecureEngine.
- #pragma comment(lib, "SecureEngine.lib")
#endif
namespace Security
@@ -50,11 +51,14 @@ namespace Security uint16_t m_CpuArchitecture;
uint32_t m_CpuCount;
- // String-literal - contains list of CPU features.
+ // Contains list of CPU features.
char m_CpuFeatures[64];
// Hash of the hard disk serial identifier.
uint32_t m_HardDiskSerialHash;
+
+ // Safe-mode/Test-signing mode status
+ uint8_t m_SpecialMode[2];
};
// This class implements the runtime security system.
|
