-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.cs
115 lines (107 loc) · 3.58 KB
/
Main.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Demon_Panel
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
BHVRSeession.OnTokenReceived += Initiate;
}
public static void Initiate(string bhvrSession)
{
if (Grabbing)
{
BHVRSeession.Stop();
foreach (Process process in Process.GetProcesses())
{
if (process.ProcessName.ToUpper().Contains("DAYLIGHT"))
{
process.Kill();
}
}
if (Host == "steam")
{
Utils.Resurrect(Utils.GetModulePath());
}
SystemSounds.Asterisk.Play();
MessageBox.Show("Successfully Grabbed cookie, Navigate to Injector section to use it");
Grabbing = false;
}
Initiated = true;
owo = true;
bhvrSession.Replace(" ", string.Empty );
BHVRSession = bhvrSession.Replace("bhvrSession=", string.Empty);
}
public static bool Initiated = false;
private void guna2Panel1_Paint(object sender, PaintEventArgs e)
{
}
public static string Host;
public static string Kraken;
public static string UserAgent;
public static string BHVRSession;
public static bool Grabbing;
public static bool owo = false;
private void siticoneControlBox1_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void guna2ImageRadioButton1_CheckedChanged(object sender, EventArgs e)
{
// Ismail.Backdrop.Show(new Settings(), this);
}
private void siticoneButton1_Click(object sender, EventArgs e)
{
if (!owo)
{
MessageBox.Show("Please grab your cookie first");
siticoneButton2.PerformClick();
return;
}
PanelLoad.Controls.Clear();
Injector.Inject bhvrisgay = new Injector.Inject();
bhvrisgay.TopLevel = false;
bhvrisgay.AutoScroll = true;
PanelLoad.Controls.Add(bhvrisgay);
bhvrisgay.Show();
}
private void siticoneButton2_Click(object sender, EventArgs e)
{
PanelLoad.Controls.Clear();
BHVRSession bhvrisgay = new BHVRSession();
bhvrisgay.TopLevel = false;
bhvrisgay.AutoScroll = true;
PanelLoad.Controls.Add(bhvrisgay);
bhvrisgay.Show();
}
private void siticoneButton4_Click(object sender, EventArgs e)
{
PanelLoad.Controls.Clear();
Spoofer.Spoofer bhvrisgay = new Spoofer.Spoofer();
bhvrisgay.TopLevel = false;
bhvrisgay.AutoScroll = true;
PanelLoad.Controls.Add(bhvrisgay);
bhvrisgay.Show();
}
private void siticoneButton5_Click(object sender, EventArgs e)
{
PanelLoad.Controls.Clear();
Unlocker bhvrisgay = new Unlocker();
bhvrisgay.TopLevel = false;
bhvrisgay.AutoScroll = true;
PanelLoad.Controls.Add(bhvrisgay);
bhvrisgay.Show();
}
}
}