· 5 years ago · Feb 28, 2021, 03:08 PM
1using System;
2using System.Windows;
3using System.Net;
4using Oblivion_Panel;
5using System.IO;
6using System.Windows.Forms;
7using System.Windows.Controls;
8using UserControl = System.Windows.Controls.UserControl;
9using Clipboard = System.Windows.Forms.Clipboard;
10using MessageBox = System.Windows.MessageBox;
11
12namespace Oblivion_V4
13{
14 /// <summary>
15 /// Interaction logic for UserControlReseller.xaml
16 /// </summary>
17 public partial class UserControlReseller : UserControl
18 {
19 public UserControlReseller()
20 {
21 InitializeComponent();
22 }
23 int n1, n2, x1, x2;
24
25 private void Copy(object sender, RoutedEventArgs e)
26 {
27 Clipboard.SetText(tbLicense.Text);
28 }
29
30 System.Windows.Threading.DispatcherTimer refresh = new System.Windows.Threading.DispatcherTimer();
31 private async void Grid_Loaded(object sender, RoutedEventArgs e)
32 {
33
34 TempOverlay.Visibility = Visibility.Visible;
35
36 refresh.Tick += new EventHandler(Refresh_Tick);
37 refresh.Interval = new TimeSpan(0, 0, 2);
38 refresh.Start();
39
40 #region [Check Balance]
41 for (int i = 0; i < 100; i++)
42 {
43 try
44 {
45 string death = value.Text;
46 if (death.Contains("-"))
47 {
48 value.Text = "0";
49 MessageBox.Show("You don't have enough balance please recharge", "dialog:");
50 WebClient wc = new WebClient { }; wc.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
51 value.Text = "0";
52 }
53 }
54 catch
55 {
56
57 }
58 }
59 #endregion
60 TempOverlay.Visibility = Visibility.Hidden;
61 }
62
63 private async void Refresh_Tick(object sender, EventArgs e)
64 {
65 string path = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Project Death");
66 string file = $"{path}\\RunningAttackInformation.json";
67 if (!Directory.Exists(path))
68 Directory.CreateDirectory(path);
69 if (File.Exists(file))
70 {
71 }
72 }
73
74 private void tbLicense_TextChanged(object sender, TextChangedEventArgs e)
75 {
76
77 }
78
79 private void rbDay_Checked(object sender, RoutedEventArgs e)
80 {
81
82 }
83
84 private void rbWeek_Checked(object sender, RoutedEventArgs e)
85 {
86
87 }
88
89 private void rbMonth_Checked(object sender, RoutedEventArgs e)
90 {
91
92 }
93
94 public static string authgg = "https://developers.auth.gg";
95 public static string API = "API I KNOW";
96 private void btnGen_Click(object sender, EventArgs e)
97 {
98 int check = int.Parse(value.Text);
99 try
100 {
101 #region [ Calca ]
102 if (rbDay.IsChecked == true)
103 {
104 if (check < 10)
105 {
106 MessageBox.Show("You don't have enough balance please recharge your balance must be 10 or higher", "dialog:");
107 }
108 else if (check >= 10)
109 {
110
111 n1 = int.Parse(value.Text);
112 n2 = int.Parse("10");
113 x1 = n1;
114 x2 = n2;
115 while (n2 != 0)
116 {
117 int brw = (~n1) & n2;
118 n1 = n1 ^ n2;
119 n2 = brw << 1;
120
121 }
122 WebClient death = new WebClient();
123 death.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
124 tbLicense.Text = death.DownloadString(authgg + "/LICENSES/?type=generate&days=1&amount=1&level=2&format=3&length=10&prefix=SMILE-PANEL&authorization=" + API);
125 using (DcWebHook dcWeb = new DcWebHook())
126 {
127
128 dcWeb.ProfilePicture = "https://www.pngfind.com/pngs/m/10-109569_shield-logo-png-logo-agent-of-shield-transparent.png";
129 dcWeb.UserName = "Agent Log";
130 dcWeb.WebHook = "https://discord.com/api/webhooks/815026506551001158/cdnc0UxYCBb1Hn9aNMOyady9XN6A91HmVFIjgoEjvewzoqkup6iPMzwjuAeDRCFSuwAL";
131 dcWeb.SendMessage("```css" + Environment.NewLine + $"Agent : {User.Username}" + Environment.NewLine + $"Agent Balance : {User.UserVariable}" + Environment.NewLine + $"Agent Current time : {DateTime.Now}" + Environment.NewLine + $"Generated Key : {tbLicense.Text}" + Environment.NewLine + "```");
132 }
133 }
134 #endregion
135 #region [Check Balance]
136 try
137 {
138 string death = value.Text;
139 if (death.Contains("-"))
140 {
141 value.Text = "0";
142 MessageBox.Show("You don't have enough balance please recharge", "dialog:");
143 WebClient deathY = new WebClient();
144 deathY.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
145 value.Text = "0";
146 }
147 }
148 catch
149 {
150
151 }
152 #endregion
153 }
154
155 if (rbMonth.IsChecked == true)
156 {
157 if (check < 20)
158 {
159 MessageBox.Show("You don't have enough balance please recharge your balance must be 20 or higher", "Dialog:");
160 }
161 else if (check >= 20)
162 {
163
164 n1 = int.Parse(value.Text);
165 n2 = int.Parse("20");
166 x1 = n1;
167 x2 = n2;
168 while (n2 != 0)
169 {
170 int brw = (~n1) & n2;
171 n1 = n1 ^ n2;
172 n2 = brw << 1;
173
174 }
175 WebClient death = new WebClient();
176 death.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
177 tbLicense.Text = death.DownloadString(authgg + "/LICENSES/?type=generate&days=30&amount=1&level=2&format=3&length=10&prefix=SMILE-PANEL&authorization=" + API);
178 using (DcWebHook dcWeb = new DcWebHook())
179 {
180
181 dcWeb.ProfilePicture = "https://www.pngfind.com/pngs/m/10-109569_shield-logo-png-logo-agent-of-shield-transparent.png";
182 dcWeb.UserName = "Agent Log";
183 dcWeb.WebHook = "https://discord.com/api/webhooks/815026506551001158/cdnc0UxYCBb1Hn9aNMOyady9XN6A91HmVFIjgoEjvewzoqkup6iPMzwjuAeDRCFSuwAL";
184 dcWeb.SendMessage("```css" + Environment.NewLine + $"Agent : {User.Username}" + Environment.NewLine + $"Agent Balance : {User.UserVariable}" + Environment.NewLine + $"Agent Current time : {DateTime.Now}" + Environment.NewLine + $"Generated Key : {tbLicense.Text}" + Environment.NewLine + "```");
185 }
186 }
187 #region [ Check Balance]
188 try
189 {
190 string death = value.Text;
191 if (death.Contains("-"))
192 {
193 value.Text = "0";
194 MessageBox.Show("You don't have enough balance please recharge", "Dialog:");
195 WebClient deathY = new WebClient();
196 deathY.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
197 value.Text = "0";
198 }
199 }
200
201 catch
202 {
203
204 }
205 }
206 #endregion
207 if (rbWeek.IsChecked == true)
208 {
209 if (check < 15)
210 {
211 MessageBox.Show("You don't have enough balance please recharge your balance must be 15 or higher", "Dialog:");
212 }
213 else if (check >= 15)
214 {
215
216 n1 = int.Parse(value.Text);
217 n2 = int.Parse("15");
218 x1 = n1;
219 x2 = n2;
220 while (n2 != 0)
221 {
222 int brw = (~n1) & n2;
223 n1 = n1 ^ n2;
224 n2 = brw << 1;
225
226 }
227 WebClient death = new WebClient();
228 death.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
229 tbLicense.Text = death.DownloadString(authgg + "/LICENSES/?type=generate&days=30&amount=1&level=2&format=3&length=10&prefix=SMILE-PANEL&authorization=" + API);
230 using (DcWebHook dcWeb = new DcWebHook())
231 {
232
233 dcWeb.ProfilePicture = "https://www.pngfind.com/pngs/m/10-109569_shield-logo-png-logo-agent-of-shield-transparent.png";
234 dcWeb.UserName = "Agent Log";
235 dcWeb.WebHook = "https://discord.com/api/webhooks/815026506551001158/cdnc0UxYCBb1Hn9aNMOyady9XN6A91HmVFIjgoEjvewzoqkup6iPMzwjuAeDRCFSuwAL";
236 dcWeb.SendMessage("```css" + Environment.NewLine + $"Agent : {User.Username}" + Environment.NewLine + $"Agent Balance : {User.UserVariable}" + Environment.NewLine + $"Agent Current time : {DateTime.Now}" + Environment.NewLine + $"Generated Key : {tbLicense.Text}" + Environment.NewLine + "```");
237 }
238 }
239 #region [ Check Balance]
240 try
241 {
242 string death = value.Text;
243 if (death.Contains("-"))
244 {
245 value.Text = "0";
246 MessageBox.Show("You don't have enough balance please recharge", "Dialog:");
247 WebClient deathY = new WebClient();
248 deathY.DownloadString($"https://developers.auth.gg/USERS/?type=editvar&authorization=API I KNOW&user={User.Username}&value={value.Text = Convert.ToString(n1)}");
249 value.Text = "0";
250 }
251 }
252
253 catch
254 {
255
256 }
257 #endregion
258 }
259 }
260 catch
261 {
262
263 }
264
265 }
266
267 }
268}
269