Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void login_Click(object sender, EventArgs e)
- {
- string text = this.user.Text;
- string str2 = this.pass.Text;
- try
- {
- string requestUriString = "http://maxhook.pw/forum/api.php?action=authenticate&username=" + text + "&password=" + str2;
- WebRequest.Create(requestUriString);
- new WebClient().DownloadString(requestUriString).Contains("hash");
- }
- catch
- {
- MessageBox.Show("Username or Password is incorrect");
- Application.Exit();
- }
- try
- {
- string str4 = "0031ba249";
- string str5 = "0f896fd7cb4cb";
- string str6 = "d8e8fca2dc" + str5 + str4;
- string str7 = "http://maxhook.pw/forum/api.php?action=getUser&value=" + text + "&hash=" + str6;
- WebRequest.Create(str7);
- string str8 = new WebClient().DownloadString(str7);
- char ch = '"';
- string[] textArray1 = new string[] { ch.ToString(), "secondary_group_ids", ch.ToString(), ":", ch.ToString() };
- string text1 = string.Concat(textArray1);
- string str9 = text1 + "5";
- string str10 = text1 + "3,4,5";
- string str11 = text1 + "3,4";
- if ((!str8.Contains(str9) && !str8.Contains(str10)) && !str8.Contains(str11))
- {
- MessageBox.Show("User is not VIP");
- }
- else
- {
- string str12 = NetworkInterface.GetAllNetworkInterfaces().Where((Class3.func_0 ?? (Class3.func_0 = new Func(Class3.class3_0.method_0)))).Select((Class3.func_1 ?? (Class3.func_1 = new Func(Class3.class3_0.method_1)))).FirstOrDefault();
- GClass0.smethod_0();
- StreamReader reader1 = new StreamReader(@"C:ProgramDataCommonFilesDataHWID.txt");
- string str13 = reader1.ReadToEnd();
- reader1.Close();
- bool flag = str13.IndexOf(text, StringComparison.OrdinalIgnoreCase) >= 0;
- if (str13.Contains(str12))
- {
- if (str13.IndexOf(text + "-" + str12, StringComparison.OrdinalIgnoreCase) >= 0)
- {
- File.Delete(@"C:ProgramDataCommonFilesDataHWID.txt");
- Class2.smethod_0();
- string str14 = @"C:ProgramDataCommonFilesDatad3dx9.dll";
- string str15 = "csgo";
- int num = this.method_0(str15);
- if (num >= 0)
- {
- IntPtr ptr = OpenProcess(2035711, 1, num);
- this.method_1(ptr, str14);
- MessageBox.Show("Successfully injected");
- Application.Exit();
- }
- else if (num == 0)
- {
- MessageBox.Show("Start CSGO before logging in");
- try
- {
- File.Delete(str14);
- File.Delete(@"C:ProgramDataCommonFilesDataHWID.txt");
- }
- catch
- {
- Application.Exit();
- }
- }
- }
- else
- {
- MessageBox.Show("Please only use one account per computer. Contact an administrator.");
- }
- }
- else if (flag)
- {
- MessageBox.Show("Invalid HWID");
- Application.Exit();
- }
- else
- {
- string str16 = "Wm5S3+@!5iT-=F]B6}";
- string str17 = "dler@maxhook.pw";
- StreamWriter writer1 = new StreamWriter(@"C:ProgramDataCommonFilesDataHWID.txt", true);
- writer1.WriteLine(text + "-" + str12);
- writer1.Close();
- Class1.smethod_0(new Uri("ftp://217.174.149.232/HWIDs.txt"), str17, str16);
- using (WebClient client = new WebClient())
- {
- client.Credentials = new NetworkCredential(str17, str16);
- client.UploadFile("ftp://217.174.149.232/HWID.txt", @"C:ProgramDataCommonFilesDataHWID.txt");
- }
- File.Delete(@"C:ProgramDataCommonFilesDataHWID.txt");
- MessageBox.Show("HWID has been added, please sign in again.");
- }
- }
- }
- catch
- {
- MessageBox.Show("Unexpected error. Did you run as administrator?nNote that you may only inject once per CSGO session.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement