private void Button40_Click(object sender, EventArgs e) { if (this.CheckBox1.CheckState == CheckState.Checked) { try { MyProject.Computer.FileSystem.WriteAllText("C:\\data.txt", "//Villain PID Login details\r\n" + this.Login.Text + "\r\n" + this.Password.Text + "\r\n" + this.SecurityCode.Text + "\r\n" + this.Defcode.Text + "\r\n\\\\end", 0 != 0); } catch (Exception ex) { ProjectData.SetProjectError(ex); int num = (int) MessageBox.Show("Please run VillainPID as administrator to perform this action.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); ProjectData.ClearProjectError(); } } if (this.CheckBox1.CheckState == CheckState.Unchecked) { try { MyProject.Computer.FileSystem.WriteAllText("C:\\data.txt", "", false); } catch (Exception ex) { ProjectData.SetProjectError(ex); int num = (int) MessageBox.Show("Please run VillainPID as administrator to perform this action.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); ProjectData.ClearProjectError(); } } if (Operators.CompareString(this.Defcode.Text, "9a452e781f5179b160fe135c5ea24d42", true) != 0) { int num1 = (int) MessageBox.Show("Could not validate credentials, please try again.\r\nUsername: "******"\r\nPassword: "******"\r\nSecurity code: " + this.SecurityCode.Text, "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand, MessageBoxDefaultButton.Button1); } else { HWIDAPPLICATION hwidapplication = new HWIDAPPLICATION(); if (Conversions.ToBoolean(hwidapplication.HWIDCHECK("D0C55FE6D1C086FF7F0626332313D1D7", "reverze.org", "http://reverze.org/localhost/check.php", "66.219.24.90", this.Login.Text, this.Password.Text, this.SecurityCode.Text, Conversions.ToInteger("1"), (Form) this, (Form) MyProject.Forms.index, ""))) { MyProject.Forms.index.Show(); this.Label5.Text = Conversions.ToString(hwidapplication.GetCustomerInformation("http://reverze.org/localhost/check.php", "", "")); } } }
public loginform() { this.Load += new EventHandler(this.loginform_Load); this.MouseDown += new MouseEventHandler(this.Form1_MouseDown); this.MouseMove += new MouseEventHandler(this.Form1_MouseMove); this.MouseUp += new MouseEventHandler(this.Form1_MouseUp); this.FormClosed += new FormClosedEventHandler(this.loginform_FormClosed); this.FormClosing += new FormClosingEventHandler(this.loginform_FormClosing); loginform.__ENCAddToList((object) this); this.Protection = new HWIDAPPLICATION(); this.dragimage = false; this.InitializeComponent(); }