-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRandomizedRequests.cs
66 lines (62 loc) · 2.43 KB
/
RandomizedRequests.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
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.Injector.Random
{
public partial class RandomizedItems : Form
{
public RandomizedItems()
{
InitializeComponent();
}
private void RandomizedItems_Load(object sender, EventArgs e)
{
}
private void siticoneRoundedButton1_Click(object sender, EventArgs e)
{
if (Legacy.Checked == true)
{
string input2 = System.Text.Encoding.UTF8.GetString(Login.KeyAuthApp.download("706258"));
int mini = Convert.ToInt32(MinValue.Value);
int maxx2 = Convert.ToInt32(MaxValue.Value);
System.Random rand = new System.Random();
string content2 = Regex.Replace(input2, Regex.Escape(",600\""), (Match m) => $",{rand.Next(mini, maxx2)}\"");
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");
}
}
else
{
string input2 = System.Text.Encoding.UTF8.GetString(Login.KeyAuthApp.download("130875"));
int mini = Convert.ToInt32(MinValue.Value);
int maxx2 = Convert.ToInt32(MaxValue.Value);
System.Random rand = new System.Random();
string content2 = Regex.Replace(input2, Regex.Escape(",600\""), (Match m) => $",{rand.Next(mini, maxx2)}\"");
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");
}
}
}
}
}