-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimpleInjector.cs
57 lines (55 loc) · 2.05 KB
/
SimpleInjector.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
using Eclipsed_Panel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Demon_Panel
{
public partial class SimpleInjector : Form
{
public SimpleInjector()
{
InitializeComponent();
}
private void siticoneRoundedButton1_Click(object sender, EventArgs e)
{
if (Legacy.Checked == true)
{
string input = System.Text.Encoding.UTF8.GetString(Login.KeyAuthApp.download("706258"));
new Random();
string content = Regex.Replace(input, Regex.Escape(",600\""), (Match m) => $",{siticoneRoundedNumericUpDown1.Value}\"");
if ((InjectorRequests.Injector.Dump_FullProfile() != null) & InjectorRequests.Injector.Inject_FullProfile(SaveFile.EncryptSavefile(content)))
{
Login.KeyAuthApp.UpdateInjects();
SystemSounds.Asterisk.Play();
}
else
{
MessageBox.Show("ERROR: failed to inject FullProfile.txt");
}
}
else
{
string input2 = System.Text.Encoding.UTF8.GetString(Login.KeyAuthApp.download("130875"));
new Random();
string content2 = Regex.Replace(input2, Regex.Escape(",600\""), (Match m) => $",{siticoneRoundedNumericUpDown1.Value}\"");
if ((InjectorRequests.Injector.Dump_FullProfile() != null) & InjectorRequests.Injector.Inject_FullProfile(SaveFile.EncryptSavefile(content2)))
{
Login.KeyAuthApp.UpdateInjects();
SystemSounds.Asterisk.Play();
}
else
{
MessageBox.Show("ERROR: failed to inject FullProfile.txt");
}
}
}
}
}