Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.Net;
- using System.Runtime.CompilerServices;
- using System.Windows.Forms;
- using Bunifu.Framework.UI;
- using Microsoft.VisualBasic.CompilerServices;
- using PHPLogin.My;
- namespace PHPLogin
- {
- // Token: 0x02000008 RID: 8
- [DesignerGenerated]
- public class Form1 : Form
- {
- // Token: 0x06000013 RID: 19 RVA: 0x000022FF File Offset: 0x000004FF
- public Form1()
- {
- base.Load += new EventHandler(this.Form1_Load);
- this.wClient = new WebClient();
- this.InitializeComponent();
- }
- // Token: 0x06000014 RID: 20 RVA: 0x0000232D File Offset: 0x0000052D
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- // Token: 0x06000015 RID: 21 RVA: 0x0000232D File Offset: 0x0000052D
- private void Button1_Click(object sender, EventArgs e)
- {
- }
- // Token: 0x06000016 RID: 22 RVA: 0x0000232D File Offset: 0x0000052D
- private void Button2_Click(object sender, EventArgs e)
- {
- }
- // Token: 0x06000017 RID: 23 RVA: 0x00002330 File Offset: 0x00000530
- private void Button3_Click(object sender, EventArgs e)
- {
- base.Close();
- }
- // Token: 0x06000018 RID: 24 RVA: 0x0000233C File Offset: 0x0000053C
- private void BunifuFlatButton1_Click(object sender, EventArgs e)
- {
- string left = this.wClient.DownloadString("http://neovpn.esy.es/handler.php?action=login&username=" + this.TextBox1.Text + "&password=" + this.TextBox2.Text);
- bool flag = Operators.CompareString(left, "1", false) == 0;
- if (flag)
- {
- MessageBox.Show("Verification 1 Passed.. Verification 2 checking.. please click ok");
- MyProject.Forms.Form4.Show();
- }
- else
- {
- bool flag2 = Operators.CompareString(left, "0", false) == 0;
- if (flag2)
- {
- MessageBox.Show("Invalid information");
- }
- }
- }
- // Token: 0x06000019 RID: 25 RVA: 0x000023CC File Offset: 0x000005CC
- private void BunifuFlatButton2_Click(object sender, EventArgs e)
- {
- string left = this.wClient.DownloadString("http://neovpn.esy.es/handler.php?action=register&username=" + this.TextBox1.Text + "&password=" + this.TextBox2.Text);
- bool flag = Operators.CompareString(left, "1", false) == 0;
- if (flag)
- {
- MessageBox.Show("Successfully Registered");
- }
- else
- {
- bool flag2 = Operators.CompareString(left, "0", false) == 0;
- if (flag2)
- {
- MessageBox.Show("There was an error please try again later.");
- }
- }
- }
- // Token: 0x0600001A RID: 26 RVA: 0x00002330 File Offset: 0x00000530
- private void Button2_Click_1(object sender, EventArgs e)
- {
- base.Close();
- }
- // Token: 0x0600001B RID: 27 RVA: 0x0000244C File Offset: 0x0000064C
- [DebuggerNonUserCode]
- protected override void Dispose(bool disposing)
- {
- try
- {
- bool flag = disposing && this.components != null;
- if (flag)
- {
- this.components.Dispose();
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- // Token: 0x0600001C RID: 28 RVA: 0x0000249C File Offset: 0x0000069C
- [DebuggerStepThrough]
- private void InitializeComponent()
- {
- this.components = new Container();
- ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1));
- this.Button3 = new Button();
- this.Label3 = new Label();
- this.BunifuElipse1 = new BunifuElipse(this.components);
- this.BunifuFlatButton1 = new BunifuFlatButton();
- this.TextBox1 = new BunifuMetroTextbox();
- this.TextBox2 = new BunifuMetroTextbox();
- this.BunifuFlatButton2 = new BunifuFlatButton();
- this.Button1 = new Button();
- this.Button2 = new Button();
- this.Label1 = new Label();
- this.Label2 = new Label();
- base.SuspendLayout();
- this.Button3.BackColor = Color.FromArgb(64, 64, 64);
- this.Button3.Font = new Font("Segoe Print", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
- this.Button3.ForeColor = Color.FromArgb(0, 192, 0);
- this.Button3.Location = new Point(442, -1);
- this.Button3.Name = "Button3";
- this.Button3.Size = new Size(23, 33);
- this.Button3.TabIndex = 6;
- this.Button3.Text = "X";
- this.Button3.UseVisualStyleBackColor = false;
- this.Label3.AutoSize = true;
- this.Label3.BackColor = Color.Teal;
- this.Label3.Font = new Font("Segoe Print", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
- this.Label3.Location = new Point(0, -1);
- this.Label3.Name = "Label3";
- this.Label3.Size = new Size(142, 33);
- this.Label3.TabIndex = 7;
- this.Label3.Text = "NeoVPN inc. ";
- this.BunifuElipse1.ElipseRadius = 5;
- this.BunifuElipse1.TargetControl = this;
- this.BunifuFlatButton1.Activecolor = Color.FromArgb(0, 192, 192);
- this.BunifuFlatButton1.BackColor = Color.FromArgb(46, 139, 87);
- this.BunifuFlatButton1.BackgroundImageLayout = ImageLayout.Stretch;
- this.BunifuFlatButton1.BorderRadius = 0;
- this.BunifuFlatButton1.ButtonText = "Log In";
- this.BunifuFlatButton1.Cursor = Cursors.Hand;
- this.BunifuFlatButton1.DisabledColor = Color.Gray;
- this.BunifuFlatButton1.Font = new Font("Lucida Sans Unicode", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.BunifuFlatButton1.ForeColor = Color.Coral;
- this.BunifuFlatButton1.Iconcolor = Color.Transparent;
- this.BunifuFlatButton1.Iconimage = (Image)componentResourceManager.GetObject("BunifuFlatButton1.Iconimage");
- this.BunifuFlatButton1.Iconimage_right = null;
- this.BunifuFlatButton1.Iconimage_right_Selected = null;
- this.BunifuFlatButton1.Iconimage_Selected = null;
- this.BunifuFlatButton1.IconMarginLeft = 0;
- this.BunifuFlatButton1.IconMarginRight = 0;
- this.BunifuFlatButton1.IconRightVisible = true;
- this.BunifuFlatButton1.IconRightZoom = 0.0;
- this.BunifuFlatButton1.IconVisible = true;
- this.BunifuFlatButton1.IconZoom = 90.0;
- this.BunifuFlatButton1.IsTab = false;
- this.BunifuFlatButton1.Location = new Point(252, 140);
- this.BunifuFlatButton1.Margin = new Padding(3, 4, 3, 4);
- this.BunifuFlatButton1.Name = "BunifuFlatButton1";
- this.BunifuFlatButton1.Normalcolor = Color.FromArgb(46, 139, 87);
- this.BunifuFlatButton1.OnHovercolor = Color.FromArgb(36, 129, 77);
- this.BunifuFlatButton1.OnHoverTextColor = Color.DarkRed;
- this.BunifuFlatButton1.selected = false;
- this.BunifuFlatButton1.Size = new Size(124, 37);
- this.BunifuFlatButton1.TabIndex = 8;
- this.BunifuFlatButton1.Text = "Log In";
- this.BunifuFlatButton1.TextAlign = ContentAlignment.MiddleLeft;
- this.BunifuFlatButton1.Textcolor = Color.Red;
- this.BunifuFlatButton1.TextFont = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.TextBox1.BorderColorFocused = Color.Blue;
- this.TextBox1.BorderColorIdle = Color.FromArgb(64, 64, 64);
- this.TextBox1.BorderColorMouseHover = Color.Blue;
- this.TextBox1.BorderThickness = 3;
- this.TextBox1.Cursor = Cursors.IBeam;
- this.TextBox1.Font = new Font("Microsoft Sans Serif", 9.75f);
- this.TextBox1.ForeColor = Color.FromArgb(64, 64, 64);
- this.TextBox1.isPassword = false;
- this.TextBox1.Location = new Point(6, 36);
- this.TextBox1.Margin = new Padding(4);
- this.TextBox1.Name = "TextBox1";
- this.TextBox1.Size = new Size(370, 44);
- this.TextBox1.TabIndex = 9;
- this.TextBox1.Text = "Username";
- this.TextBox1.TextAlign = HorizontalAlignment.Left;
- this.TextBox2.BorderColorFocused = Color.Blue;
- this.TextBox2.BorderColorIdle = Color.FromArgb(64, 64, 64);
- this.TextBox2.BorderColorMouseHover = Color.Blue;
- this.TextBox2.BorderThickness = 3;
- this.TextBox2.Cursor = Cursors.IBeam;
- this.TextBox2.Font = new Font("Microsoft Sans Serif", 9.75f);
- this.TextBox2.ForeColor = Color.FromArgb(64, 64, 64);
- this.TextBox2.isPassword = true;
- this.TextBox2.Location = new Point(6, 88);
- this.TextBox2.Margin = new Padding(4);
- this.TextBox2.Name = "TextBox2";
- this.TextBox2.Size = new Size(370, 44);
- this.TextBox2.TabIndex = 10;
- this.TextBox2.Text = "Password";
- this.TextBox2.TextAlign = HorizontalAlignment.Left;
- this.BunifuFlatButton2.Activecolor = Color.FromArgb(0, 192, 192);
- this.BunifuFlatButton2.BackColor = Color.FromArgb(46, 139, 87);
- this.BunifuFlatButton2.BackgroundImageLayout = ImageLayout.Stretch;
- this.BunifuFlatButton2.BorderRadius = 0;
- this.BunifuFlatButton2.ButtonText = "Register";
- this.BunifuFlatButton2.Cursor = Cursors.Hand;
- this.BunifuFlatButton2.DisabledColor = Color.Gray;
- this.BunifuFlatButton2.Font = new Font("Lucida Sans Unicode", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.BunifuFlatButton2.ForeColor = Color.Coral;
- this.BunifuFlatButton2.Iconcolor = Color.Transparent;
- this.BunifuFlatButton2.Iconimage = (Image)componentResourceManager.GetObject("BunifuFlatButton2.Iconimage");
- this.BunifuFlatButton2.Iconimage_right = null;
- this.BunifuFlatButton2.Iconimage_right_Selected = null;
- this.BunifuFlatButton2.Iconimage_Selected = null;
- this.BunifuFlatButton2.IconMarginLeft = 0;
- this.BunifuFlatButton2.IconMarginRight = 0;
- this.BunifuFlatButton2.IconRightVisible = true;
- this.BunifuFlatButton2.IconRightZoom = 0.0;
- this.BunifuFlatButton2.IconVisible = true;
- this.BunifuFlatButton2.IconZoom = 90.0;
- this.BunifuFlatButton2.IsTab = false;
- this.BunifuFlatButton2.Location = new Point(6, 140);
- this.BunifuFlatButton2.Margin = new Padding(3, 4, 3, 4);
- this.BunifuFlatButton2.Name = "BunifuFlatButton2";
- this.BunifuFlatButton2.Normalcolor = Color.FromArgb(46, 139, 87);
- this.BunifuFlatButton2.OnHovercolor = Color.FromArgb(36, 129, 77);
- this.BunifuFlatButton2.OnHoverTextColor = Color.White;
- this.BunifuFlatButton2.selected = false;
- this.BunifuFlatButton2.Size = new Size(136, 37);
- this.BunifuFlatButton2.TabIndex = 11;
- this.BunifuFlatButton2.Text = "Register";
- this.BunifuFlatButton2.TextAlign = ContentAlignment.MiddleLeft;
- this.BunifuFlatButton2.Textcolor = Color.Red;
- this.BunifuFlatButton2.TextFont = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.Button1.Location = new Point(400, 191);
- this.Button1.Name = "Button1";
- this.Button1.Size = new Size(60, 14);
- this.Button1.TabIndex = 12;
- this.Button1.Text = "Button1";
- this.Button1.UseVisualStyleBackColor = true;
- this.Button2.Location = new Point(359, -1);
- this.Button2.Name = "Button2";
- this.Button2.Size = new Size(31, 23);
- this.Button2.TabIndex = 13;
- this.Button2.Text = "X";
- this.Button2.UseVisualStyleBackColor = true;
- this.Label1.AutoSize = true;
- this.Label1.BackColor = Color.Teal;
- this.Label1.Font = new Font("Segoe Print", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
- this.Label1.Location = new Point(138, -1);
- this.Label1.Name = "Label1";
- this.Label1.Size = new Size(0, 33);
- this.Label1.TabIndex = 14;
- this.Label2.AutoSize = true;
- this.Label2.BackColor = Color.Teal;
- this.Label2.Font = new Font("Segoe Print", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
- this.Label2.Location = new Point(138, -1);
- this.Label2.Name = "Label2";
- this.Label2.Size = new Size(142, 33);
- this.Label2.TabIndex = 15;
- this.Label2.Text = "NeoVPN inc. ";
- base.AutoScaleDimensions = new SizeF(6f, 13f);
- base.AutoScaleMode = AutoScaleMode.Font;
- base.AutoSizeMode = AutoSizeMode.GrowAndShrink;
- this.BackgroundImage = (Image)componentResourceManager.GetObject("$this.BackgroundImage");
- base.ClientSize = new Size(393, 188);
- base.ControlBox = false;
- base.Controls.Add(this.Label2);
- base.Controls.Add(this.Label1);
- base.Controls.Add(this.Button2);
- base.Controls.Add(this.Button1);
- base.Controls.Add(this.BunifuFlatButton2);
- base.Controls.Add(this.TextBox2);
- base.Controls.Add(this.TextBox1);
- base.Controls.Add(this.BunifuFlatButton1);
- base.Controls.Add(this.Label3);
- base.Controls.Add(this.Button3);
- this.Cursor = Cursors.IBeam;
- base.FormBorderStyle = FormBorderStyle.None;
- base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
- base.Name = "Form1";
- base.StartPosition = FormStartPosition.CenterScreen;
- this.Text = "Login Panel";
- base.ResumeLayout(false);
- base.PerformLayout();
- }
- // Token: 0x1700000A RID: 10
- // (get) Token: 0x0600001D RID: 29 RVA: 0x00003125 File Offset: 0x00001325
- // (set) Token: 0x0600001E RID: 30 RVA: 0x00003130 File Offset: 0x00001330
- internal virtual Button Button3
- {
- [CompilerGenerated]
- get
- {
- return this._Button3;
- }
- [CompilerGenerated]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button3_Click);
- Button button = this._Button3;
- if (button != null)
- {
- button.Click -= value2;
- }
- this._Button3 = value;
- button = this._Button3;
- if (button != null)
- {
- button.Click += value2;
- }
- }
- }
- // Token: 0x1700000B RID: 11
- // (get) Token: 0x0600001F RID: 31 RVA: 0x00003173 File Offset: 0x00001373
- // (set) Token: 0x06000020 RID: 32 RVA: 0x0000317D File Offset: 0x0000137D
- internal virtual Label Label3
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x1700000C RID: 12
- // (get) Token: 0x06000021 RID: 33 RVA: 0x00003186 File Offset: 0x00001386
- // (set) Token: 0x06000022 RID: 34 RVA: 0x00003190 File Offset: 0x00001390
- internal virtual BunifuElipse BunifuElipse1
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x1700000D RID: 13
- // (get) Token: 0x06000023 RID: 35 RVA: 0x00003199 File Offset: 0x00001399
- // (set) Token: 0x06000024 RID: 36 RVA: 0x000031A4 File Offset: 0x000013A4
- internal virtual BunifuFlatButton BunifuFlatButton1
- {
- [CompilerGenerated]
- get
- {
- return this._BunifuFlatButton1;
- }
- [CompilerGenerated]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.BunifuFlatButton1_Click);
- BunifuFlatButton bunifuFlatButton = this._BunifuFlatButton1;
- if (bunifuFlatButton != null)
- {
- bunifuFlatButton.Click -= value2;
- }
- this._BunifuFlatButton1 = value;
- bunifuFlatButton = this._BunifuFlatButton1;
- if (bunifuFlatButton != null)
- {
- bunifuFlatButton.Click += value2;
- }
- }
- }
- // Token: 0x1700000E RID: 14
- // (get) Token: 0x06000025 RID: 37 RVA: 0x000031E7 File Offset: 0x000013E7
- // (set) Token: 0x06000026 RID: 38 RVA: 0x000031F4 File Offset: 0x000013F4
- internal virtual BunifuFlatButton BunifuFlatButton2
- {
- [CompilerGenerated]
- get
- {
- return this._BunifuFlatButton2;
- }
- [CompilerGenerated]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.BunifuFlatButton2_Click);
- BunifuFlatButton bunifuFlatButton = this._BunifuFlatButton2;
- if (bunifuFlatButton != null)
- {
- bunifuFlatButton.Click -= value2;
- }
- this._BunifuFlatButton2 = value;
- bunifuFlatButton = this._BunifuFlatButton2;
- if (bunifuFlatButton != null)
- {
- bunifuFlatButton.Click += value2;
- }
- }
- }
- // Token: 0x1700000F RID: 15
- // (get) Token: 0x06000027 RID: 39 RVA: 0x00003237 File Offset: 0x00001437
- // (set) Token: 0x06000028 RID: 40 RVA: 0x00003241 File Offset: 0x00001441
- internal virtual BunifuMetroTextbox TextBox2
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x17000010 RID: 16
- // (get) Token: 0x06000029 RID: 41 RVA: 0x0000324A File Offset: 0x0000144A
- // (set) Token: 0x0600002A RID: 42 RVA: 0x00003254 File Offset: 0x00001454
- internal virtual BunifuMetroTextbox TextBox1
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x17000011 RID: 17
- // (get) Token: 0x0600002B RID: 43 RVA: 0x0000325D File Offset: 0x0000145D
- // (set) Token: 0x0600002C RID: 44 RVA: 0x00003267 File Offset: 0x00001467
- internal virtual Button Button1
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x17000012 RID: 18
- // (get) Token: 0x0600002D RID: 45 RVA: 0x00003270 File Offset: 0x00001470
- // (set) Token: 0x0600002E RID: 46 RVA: 0x0000327C File Offset: 0x0000147C
- internal virtual Button Button2
- {
- [CompilerGenerated]
- get
- {
- return this._Button2;
- }
- [CompilerGenerated]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button2_Click_1);
- Button button = this._Button2;
- if (button != null)
- {
- button.Click -= value2;
- }
- this._Button2 = value;
- button = this._Button2;
- if (button != null)
- {
- button.Click += value2;
- }
- }
- }
- // Token: 0x17000013 RID: 19
- // (get) Token: 0x0600002F RID: 47 RVA: 0x000032BF File Offset: 0x000014BF
- // (set) Token: 0x06000030 RID: 48 RVA: 0x000032C9 File Offset: 0x000014C9
- internal virtual Label Label2
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x17000014 RID: 20
- // (get) Token: 0x06000031 RID: 49 RVA: 0x000032D2 File Offset: 0x000014D2
- // (set) Token: 0x06000032 RID: 50 RVA: 0x000032DC File Offset: 0x000014DC
- internal virtual Label Label1
- {
- get;
- [MethodImpl(MethodImplOptions.Synchronized)]
- set;
- }
- // Token: 0x0400000B RID: 11
- private WebClient wClient;
- // Token: 0x0400000C RID: 12
- private IContainer components;
- // Token: 0x0400000D RID: 13
- [CompilerGenerated, AccessedThroughProperty("Button3")]
- private Button _Button3;
- // Token: 0x0400000E RID: 14
- [CompilerGenerated, AccessedThroughProperty("Label3")]
- private Label _Label3;
- // Token: 0x0400000F RID: 15
- [CompilerGenerated, AccessedThroughProperty("BunifuElipse1")]
- private BunifuElipse _BunifuElipse1;
- // Token: 0x04000010 RID: 16
- [CompilerGenerated, AccessedThroughProperty("BunifuFlatButton1")]
- private BunifuFlatButton _BunifuFlatButton1;
- // Token: 0x04000011 RID: 17
- [CompilerGenerated, AccessedThroughProperty("BunifuFlatButton2")]
- private BunifuFlatButton _BunifuFlatButton2;
- // Token: 0x04000012 RID: 18
- [CompilerGenerated, AccessedThroughProperty("TextBox2")]
- private BunifuMetroTextbox _TextBox2;
- // Token: 0x04000013 RID: 19
- [CompilerGenerated, AccessedThroughProperty("TextBox1")]
- private BunifuMetroTextbox _TextBox1;
- // Token: 0x04000014 RID: 20
- [CompilerGenerated, AccessedThroughProperty("Button1")]
- private Button _Button1;
- // Token: 0x04000015 RID: 21
- [CompilerGenerated, AccessedThroughProperty("Button2")]
- private Button _Button2;
- // Token: 0x04000016 RID: 22
- [CompilerGenerated, AccessedThroughProperty("Label2")]
- private Label _Label2;
- // Token: 0x04000017 RID: 23
- [CompilerGenerated, AccessedThroughProperty("Label1")]
- private Label _Label1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement