-
Notifications
You must be signed in to change notification settings - Fork 0
/
Global.h
60 lines (53 loc) · 5.24 KB
/
Global.h
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
#pragma once
#include <cryptopp/dh.h>
#include "Character.h"
namespace Global
{
const static QString hostName = "sjc01.login.pathofexile.com";
const static quint16 port = 20481;
const static QString league = "Archnemesis";
const static Character::ClassType classType = Character::Int;
const static CryptoPP::Integer p("0xc5d1fff6e1e0b5b5a4220a369a4f504d"
"59c7482724053c0d4b05426328031633"
"bc79249c1c58c91b32e6802f20a1e762"
"6859da201e7faad8406c702796cbdf32"
"08a6cccb77baa29bec763a9a1fb868d7"
"9182f00957e890d762806b443e7fd2f7"
"5ef2eed5f56e92e5939ec15533a642b2"
"212504b62ba72ca8e6c7fe28bbc8f687");
const static CryptoPP::Integer q("0x62e8fffb70f05adad211051b4d27a826"
"ace3a41392029e06a582a13194018b19"
"de3c924e0e2c648d997340179050f3b1"
"342ced100f3fd56c20363813cb65ef99"
"04536665bbdd514df63b1d4d0fdc346b"
"c8c17804abf4486bb14035a21f3fe97b"
"af79776afab74972c9cf60aa99d32159"
"1092825b15d396547363ff145de47b43");
const static CryptoPP::Integer g("0x2");
const static CryptoPP::byte KeyHeader[0x180] = {0x0C, 0x2E, 0x7F, 0xB6, 0x73, 0x1C, 0xDD, 0x0E, 0xF6, 0xAA, 0xC0, 0xA1, 0x86, 0xED, 0x16, 0x77,
0x81, 0xAD, 0xEE, 0xC5, 0xAA, 0xE8, 0x76, 0x2A, 0x2F, 0x5D, 0xD4, 0x9B, 0x1A, 0x46, 0xEA, 0xD0,
0x7B, 0x8C, 0xEE, 0x09, 0x2D, 0x90, 0xF6, 0x8B, 0xB6, 0x4A, 0x41, 0xB6, 0xA6, 0x98, 0xDF, 0x57,
0x5D, 0x57, 0xC3, 0xDA, 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