-
Notifications
You must be signed in to change notification settings - Fork 30
/
Constants.cs
49 lines (41 loc) · 1.43 KB
/
Constants.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Garry.Control4.Jailbreak
{
public static class Constants
{
public const int Version = 5;
/// <summary>
/// The cert for composer needs to be named cacert-*.pem
/// </summary>
public const string ComposerCertName = "cacert-jailbreak.pem";
/// <summary>
/// Needs to start with Composer_ and can be anything after
/// </summary>
public const string CertificateCN = "Composer_GarryJailbreak";
/// <summary>
/// Should always be this unless they change something internally
/// </summary>
public const string CertPassword = "R8lvpqtgYiAeyO8j8Pyd";
/// <summary>
/// How many days until the certificate expires. Doesn't seem any harm in setting this to
/// a huge value so you don't have to re-crack every year.
/// </summary>
public const int CertificateExpireDays = 3650;
/// <summary>
/// Where OpenSSL is installed (it's installed with Composer)
/// </summary>
public const string OpenSslExe = @"C:\Program Files (x86)\Control4\Composer\Pro\RemoteAccess\bin\openssl.exe";
/// <summary>
/// Where OpenSSL's Config is located (it's installed with Composer)
/// </summary>
public const string OpenSslConfig = @"Certs\openssl.cfg";
/// <summary>
/// What version of Director/Composer we're aiming at
/// </summary>
public const string TargetDirectorVersion = @"3.2.3";
}
}