forked from Gajeel32/UnixcornTweakingUtility
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
93 lines (89 loc) · 3.26 KB
/
Copy pathProgram.cs
File metadata and controls
93 lines (89 loc) · 3.26 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
using System;
using System.Diagnostics;
using System.Windows.Forms;
using UnixcornTweakingUtility.Forms;
using AntiCrack;
namespace UnixcornTweakingUtility
{
static class Program
{
public static string webhook = Utils.getDecryptedWebhook();
public static string version = "0.5";
public static void InitializeAnti()
{
AntiCrack.Main.Send2Hook = true; //Send to discord webhook if true
AntiCrack.Main.HookLink = webhook; // Set if Send2Hook is true
AntiCrack.Main.DetectVirtualMachineAndAnyRun = true; // Detect VM and App.Any.Run
AntiCrack.Main.AntiSandBoxie = true; // Detect Sandboxie Usage
AntiCrack.Main.AntiDebugT = true; // Enables anti debug when true
AntiCrack.Main.BSOD = true; // BSOD when crack (not harmful will only reset pc)
AntiCrack.Main.BeAdmin = true; // Force Admin
}
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
InitializeAnti();
if (!Environment.Is64BitOperatingSystem)
{
if (MessageBox.Show(
"This program only supports 64bit systems.\nDo you want to talk with support ?",
"Operating System Error",
MessageBoxButtons.YesNo,
MessageBoxIcon.Error,
0
) == DialogResult.Yes)
{
Process.Start("https://twitter.com/un1xcorn");
}
return;
}
if (!Utils.isLicensed())
{
if (MessageBox.Show(
"It seems that you are not licensed.\nDo you want to talk with support ?",
"License Error",
MessageBoxButtons.YesNo,
MessageBoxIcon.Error,
0
) == DialogResult.Yes)
{
Process.Start("https://twitter.com/un1xcorn");
}
return;
}
if (!Utils.isLatestUpdate())
{
if (MessageBox.Show(
"A new update is available.\nDo you want to talk with support ?",
"Update",
MessageBoxButtons.YesNo,
MessageBoxIcon.Information,
0
) == DialogResult.Yes)
{
Process.Start("https://twitter.com/un1xcorn");
}
}
if (!Utils.sendWebhookLog(webhook))
{
if (MessageBox.Show(
"An error happened.\nDo you want to talk with support ?",
"Error",
MessageBoxButtons.YesNo,
MessageBoxIcon.Error,
0
) == DialogResult.Yes)
{
Process.Start("https://twitter.com/un1xcorn");
}
return;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}