-
Notifications
You must be signed in to change notification settings - Fork 18
/
include.h.in
63 lines (52 loc) · 3.12 KB
/
include.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#ifndef _INCLUDE_H_
#define _INCLUDE_H_
#cmakedefine R_WARZ
#cmakedefine R_MUONLINE
#cmakedefine D_INJECT_DEBUG_LOGIN
#define GHP_SERVER_TITLE L"GHPServer [@GHP_SRV_VERSION_MAJOR@.@GHP_SRV_VERSION_MINOR@.@GHP_SRV_RELEASE_MAJOR@]"
#define GHP_AES_KEY "\x0E\x84\x99\x65\xD6\xA9\x1D\x70\xD7\x01\xCD\xA3\xCE\x39\xE5\xAB\x21\xCB\x1D\x7E\xD4\xF4\xB8\xE8\x18\xFB\x2F\x23\x54\x00\xE1\x14\x6D\x4B\xCC\xD4\x11\x67\x94\x7E\x94\xA9\xB5\xDA\xF9\xC3\x4E\x54\x02\x8A\xB8\x76\x17\xD7\x29\x16\xC2\x96\xC5\x71\x91\x08\x37\x26\x82\x2A\x97\xF8\x2E\xE1\x69\x9F\x9E\x25\x9A\xAA\xA1\x9E\x9F\x80\xD7\x0A\xB3\x28\x43\xFE\x45\x91\x65\x39\x09\x6A\xB7\x6D\x47\x0B\xB3\x85\x38\xA7\xEA\x94\x25\x9E\xA8\x92\x54\xD4\x69\xAA\x9B\x32\x64\x38\xB7\x4B\xE0\x03\xC1\x44\xE4\x61\x32\xCC\x47\x30\x51\xA8\x01\x40\x39\x17\x23\x33\x0F\x79\xE6\xA0\x03\xCD\xC4\x2F\xB5\xAD\xAC\x50\x6B\xDE\xDD\xBB\x57\x76\x27\x89\xA7\x80\x6B\x08\x66\xA7\x4B\xD1\xC8\xBD\x84\xA8\x9B\x74\x51\x97\x51\xD8\x55\x01\xBD\xEE\x27\xD2\x1D\xC3\x18\x97\xF3\x6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KEY-----\n"
#define GHP_KEY_1 0x5065E645
#define GHP_KEY_2 0x47CB31B8
#define GHP_KEY_3 0x46EEF9A0
#define GHP_KEY_4 0xC18B799C
#ifdef R_WARZ
#define LICENSE_NAME L"GHPLIC.dll"
#define DATABASE_NAME L"GHPDB.dll"
#define DLL_NAME_SIG L"WZ_GHP.dll"
#define DLL_NAME_VEF L"GHP.dll"
#endif
#ifdef R_MUONLINE
#define LICENSE_NAME L"GHP.lic"
#define DATABASE_NAME L"GHP.db"
#define DLL_NAME_SIG L"GHP.dll"
#define DLL_NAME_VEF L"GHP.dll"
#endif
#include <WinSock2.h>
#include <Windows.h>
#ifdef R_WARZ
#include <d3dsdk\d3d9.h>
#include <d3dsdk\d3dx9.h>
#endif
#include <Psapi.h>
#include <TlHelp32.h>
#include <IPHlpApi.h>
#include <NTSecAPI.h>
#include <string>
#include <algorithm>
#include <sstream>
#include <vector>
#include <list>
#include <time.h>
#include <VMProtectSDK.h>
#ifdef R_WARZ
#pragma comment (lib, "D3D9")
#pragma comment (lib, "D3DX9")
#endif
#pragma comment (lib, "PSAPI")
#pragma comment (lib, "WS2_32")
#pragma comment (lib, "IPHLPAPI")
#pragma comment (lib, "ghp_UTILS.lib")
#pragma comment (lib, "ghp_CRYPTO.lib")
#pragma comment (lib, "ghp_NET.lib")
#endif