Advertisement
Guest User

Untitled

a guest
Mar 24th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 13.01 KB | None | 0 0
  1. using System;
  2. using System.ComponentModel;
  3. using System.Diagnostics;
  4. using System.Drawing;
  5. using System.Windows.Forms;
  6.  
  7. namespace WindowsFormsApplication11
  8. {
  9.     public class Form1 : Form
  10.     {
  11.         private const string loginURL = "http://www.nextgenupdate.com/forums/";
  12.  
  13.         private const string url = "http://www.nextgenupdate.com/forums/members/";
  14.  
  15.         private const string logoutURL = "http://www.nextgenupdate.com/forums/login.php?do=logout&logouthash=";
  16.  
  17.         private const string htmlstr = ".html";
  18.  
  19.         private string idUser = "vb_login_username";
  20.  
  21.         private string idPass = "vb_login_password";
  22.  
  23.         private string user;
  24.  
  25.         private string signoutHash = "";
  26.  
  27.         private IContainer components = null;
  28.  
  29.         private Button loginBtn;
  30.  
  31.         private Button creepEmBtn;
  32.  
  33.         private TextBox usernameTxt;
  34.  
  35.         private Label label1;
  36.  
  37.         private Label label2;
  38.  
  39.         private TextBox passwordTxt;
  40.  
  41.         private Button goGhostBtn;
  42.  
  43.         private Label label3;
  44.  
  45.         private WebBrowser webBrowser1;
  46.  
  47.         private TextBox userToCreepTxt;
  48.  
  49.         private Label label4;
  50.  
  51.         private GroupBox groupBox1;
  52.  
  53.         private MenuStrip menuStrip1;
  54.  
  55.         private ToolStripMenuItem menuToolStripMenuItem;
  56.  
  57.         private ToolStripMenuItem aboutToolStripMenuItem;
  58.  
  59.         private ToolStripMenuItem devloperToolStripMenuItem;
  60.  
  61.         private ToolStripMenuItem exitToolStripMenuItem;
  62.  
  63.         private Timer timer1;
  64.  
  65.         private Timer timer2;
  66.  
  67.         private ToolStripMenuItem signoutToolStripMenuItem;
  68.  
  69.         private LinkLabel adLabel;
  70.  
  71.         private Timer timer3;
  72.  
  73.         public Form1()
  74.         {
  75.             this.InitializeComponent();
  76.             this.navigateToLogin();
  77.         }
  78.  
  79.         public void loginAuth(string username, string password)
  80.         {
  81.             this.webBrowser1.Document.GetElementById(this.idUser).SetAttribute("value", username);
  82.             this.webBrowser1.Document.GetElementById(this.idPass).SetAttribute("value", password);
  83.         }
  84.  
  85.         public void ClickButton(string id)
  86.         {
  87.             this.webBrowser1.Document.GetElementById(id).InvokeMember("click");
  88.         }
  89.  
  90.         private void navigateToLogin()
  91.         {
  92.             try
  93.             {
  94.                 this.webBrowser1.Navigate("http://www.nextgenupdate.com/forums/");
  95.             }
  96.             catch
  97.             {
  98.                 MessageBox.Show("Failed to go to webpage!");
  99.             }
  100.         }
  101.  
  102.         private void performLogin()
  103.         {
  104.             if (this.webBrowser1.Url.AbsoluteUri == "http://www.nextgenupdate.com/forums/")
  105.             {
  106.                 this.loginAuth(this.usernameTxt.Text, this.passwordTxt.Text);
  107.                 this.ClickButton("submit");
  108.             }
  109.             else
  110.             {
  111.                 this.navigateToLogin();
  112.             }
  113.         }
  114.  
  115.         private void logoutAuth()
  116.         {
  117.             string documentText = this.webBrowser1.DocumentText;
  118.             string text = documentText.ToString();
  119.             string str = text.Split(new string[]
  120.             {
  121.                 "logouthash="
  122.             }, StringSplitOptions.None)[2].Substring(0, 51);
  123.             this.signoutHash = str;
  124.             this.webBrowser1.Navigate("http://www.nextgenupdate.com/forums/login.php?do=logout&logouthash=" + str);
  125.         }
  126.  
  127.         private void runLeetExploit()
  128.         {
  129.             string text = "http://www.nextgenupdate.com/forums/members/" + this.user + ".html";
  130.             Clipboard.SetText(text);
  131.             MessageBox.Show("TEST");
  132.             this.webBrowser1.Navigate(text);
  133.             this.timer2.Start();
  134.         }
  135.  
  136.         private void continueLeetExploit()
  137.         {
  138.             this.webBrowser1.Refresh();
  139.             this.timer2.Stop();
  140.             this.timer1.Start();
  141.         }
  142.  
  143.         private void button1_Click(object sender, EventArgs e)
  144.         {
  145.             this.performLogin();
  146.         }
  147.  
  148.         private void button2_Click(object sender, EventArgs e)
  149.         {
  150.             this.user = this.userToCreepTxt.Text;
  151.             this.timer1.Start();
  152.         }
  153.  
  154.         private void button3_Click(object sender, EventArgs e)
  155.         {
  156.             this.timer1.Stop();
  157.             this.timer2.Stop();
  158.         }
  159.  
  160.         private void timer1_Tick(object sender, EventArgs e)
  161.         {
  162.             this.runLeetExploit();
  163.         }
  164.  
  165.         private void timer2_Tick(object sender, EventArgs e)
  166.         {
  167.             this.continueLeetExploit();
  168.         }
  169.  
  170.         private void onToolStripMenuItem_Click(object sender, EventArgs e)
  171.         {
  172.         }
  173.  
  174.         private void signoutToolStripMenuItem_Click(object sender, EventArgs e)
  175.         {
  176.             this.logoutAuth();
  177.         }
  178.  
  179.         private void exitToolStripMenuItem_Click(object sender, EventArgs e)
  180.         {
  181.             Application.Exit();
  182.         }
  183.  
  184.         private void devloperToolStripMenuItem_Click(object sender, EventArgs e)
  185.         {
  186.             Process.Start("http://www.youtube.com/BaSs_HaXoR");
  187.             Process.Start("http://www.bassically.co");
  188.         }
  189.  
  190.         private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
  191.         {
  192.             Process.Start("http://www.pastebin.com/C8p4BxSv");
  193.         }
  194.  
  195.         private void timer3_Tick(object sender, EventArgs e)
  196.         {
  197.             this.adLabel.Text = this.adLabel.Text.Substring(1) + this.adLabel.Text.Substring(0, 1);
  198.             this.timer3.Start();
  199.         }
  200.  
  201.         private void adLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
  202.         {
  203.             Process.Start("http://www.twitter.com/BaSs_HaXoR");
  204.             Process.Start("http://www.bassically.co");
  205.         }
  206.  
  207.         protected override void Dispose(bool disposing)
  208.         {
  209.             if (disposing && this.components != null)
  210.             {
  211.                 this.components.Dispose();
  212.             }
  213.             base.Dispose(disposing);
  214.         }
  215.  
  216.         private void InitializeComponent()
  217.         {
  218.             this.components = new Container();
  219.             ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1));
  220.             this.loginBtn = new Button();
  221.             this.creepEmBtn = new Button();
  222.             this.usernameTxt = new TextBox();
  223.             this.label1 = new Label();
  224.             this.label2 = new Label();
  225.             this.passwordTxt = new TextBox();
  226.             this.goGhostBtn = new Button();
  227.             this.label3 = new Label();
  228.             this.webBrowser1 = new WebBrowser();
  229.             this.userToCreepTxt = new TextBox();
  230.             this.label4 = new Label();
  231.             this.groupBox1 = new GroupBox();
  232.             this.menuStrip1 = new MenuStrip();
  233.             this.menuToolStripMenuItem = new ToolStripMenuItem();
  234.             this.signoutToolStripMenuItem = new ToolStripMenuItem();
  235.             this.aboutToolStripMenuItem = new ToolStripMenuItem();
  236.             this.devloperToolStripMenuItem = new ToolStripMenuItem();
  237.             this.exitToolStripMenuItem = new ToolStripMenuItem();
  238.             this.timer1 = new Timer(this.components);
  239.             this.timer2 = new Timer(this.components);
  240.             this.adLabel = new LinkLabel();
  241.             this.timer3 = new Timer(this.components);
  242.             this.groupBox1.SuspendLayout();
  243.             this.menuStrip1.SuspendLayout();
  244.             base.SuspendLayout();
  245.             this.loginBtn.Location = new Point(9, 53);
  246.             this.loginBtn.Name = "loginBtn";
  247.             this.loginBtn.Size = new Size(397, 23);
  248.             this.loginBtn.TabIndex = 0;
  249.             this.loginBtn.Text = "Login";
  250.             this.loginBtn.UseVisualStyleBackColor = true;
  251.             this.loginBtn.Click += new EventHandler(this.button1_Click);
  252.             this.creepEmBtn.Location = new Point(2, 19);
  253.             this.creepEmBtn.Name = "creepEmBtn";
  254.             this.creepEmBtn.Size = new Size(395, 23);
  255.             this.creepEmBtn.TabIndex = 1;
  256.             this.creepEmBtn.Text = "Creep Em!";
  257.             this.creepEmBtn.UseVisualStyleBackColor = true;
  258.             this.creepEmBtn.Click += new EventHandler(this.button2_Click);
  259.             this.usernameTxt.Location = new Point(67, 27);
  260.             this.usernameTxt.Name = "usernameTxt";
  261.             this.usernameTxt.Size = new Size(140, 20);
  262.             this.usernameTxt.TabIndex = 2;
  263.             this.usernameTxt.TextAlign = HorizontalAlignment.Center;
  264.             this.label1.AutoSize = true;
  265.             this.label1.Location = new Point(6, 30);
  266.             this.label1.Name = "label1";
  267.             this.label1.Size = new Size(58, 13);
  268.             this.label1.TabIndex = 3;
  269.             this.label1.Text = "Username:";
  270.             this.label2.AutoSize = true;
  271.             this.label2.Location = new Point(213, 30);
  272.             this.label2.Name = "label2";
  273.             this.label2.Size = new Size(56, 13);
  274.             this.label2.TabIndex = 5;
  275.             this.label2.Text = "Password:";
  276.             this.passwordTxt.Location = new Point(270, 27);
  277.             this.passwordTxt.Name = "passwordTxt";
  278.             this.passwordTxt.PasswordChar = '*';
  279.             this.passwordTxt.Size = new Size(136, 20);
  280.             this.passwordTxt.TabIndex = 4;
  281.             this.passwordTxt.TextAlign = HorizontalAlignment.Center;
  282.             this.goGhostBtn.Location = new Point(2, 48);
  283.             this.goGhostBtn.Name = "goGhostBtn";
  284.             this.goGhostBtn.Size = new Size(395, 23);
  285.             this.goGhostBtn.TabIndex = 6;
  286.             this.goGhostBtn.Text = "Go ghost";
  287.             this.goGhostBtn.UseVisualStyleBackColor = true;
  288.             this.goGhostBtn.Click += new EventHandler(this.button3_Click);
  289.             this.label3.AutoSize = true;
  290.             this.label3.Location = new Point(4, 58);
  291.             this.label3.Name = "label3";
  292.             this.label3.Size = new Size(407, 13);
  293.             this.label3.TabIndex = 7;
  294.             this.label3.Text = "(make 10 dead accounts, that will go to webpage to remove you from recent visitors!)";
  295.             this.label3.Visible = false;
  296.             this.webBrowser1.Location = new Point(9, 223);
  297.             this.webBrowser1.MinimumSize = new Size(20, 20);
  298.             this.webBrowser1.Name = "webBrowser1";
  299.             this.webBrowser1.ScriptErrorsSuppressed = true;
  300.             this.webBrowser1.Size = new Size(830, 410);
  301.             this.webBrowser1.TabIndex = 8;
  302.             this.webBrowser1.Visible = false;
  303.             this.userToCreepTxt.Location = new Point(126, 101);
  304.             this.userToCreepTxt.Name = "userToCreepTxt";
  305.             this.userToCreepTxt.Size = new Size(160, 20);
  306.             this.userToCreepTxt.TabIndex = 9;
  307.             this.userToCreepTxt.Text = "841508-bass_haxor";
  308.             this.userToCreepTxt.TextAlign = HorizontalAlignment.Center;
  309.             this.label4.AutoSize = true;
  310.             this.label4.Location = new Point(162, 85);
  311.             this.label4.Name = "label4";
  312.             this.label4.Size = new Size(89, 13);
  313.             this.label4.TabIndex = 10;
  314.             this.label4.Text = "User ID to Creep:";
  315.             this.groupBox1.Controls.Add(this.creepEmBtn);
  316.             this.groupBox1.Controls.Add(this.goGhostBtn);
  317.             this.groupBox1.Location = new Point(7, 127);
  318.             this.groupBox1.Name = "groupBox1";
  319.             this.groupBox1.Size = new Size(399, 77);
  320.             this.groupBox1.TabIndex = 11;
  321.             this.groupBox1.TabStop = false;
  322.             this.groupBox1.Text = "1337 Buttons";
  323.             this.menuStrip1.Items.AddRange(new ToolStripItem[]
  324.             {
  325.                 this.menuToolStripMenuItem
  326.             });
  327.             this.menuStrip1.Location = new Point(0, 0);
  328.             this.menuStrip1.Name = "menuStrip1";
  329.             this.menuStrip1.Size = new Size(412, 24);
  330.             this.menuStrip1.TabIndex = 13;
  331.             this.menuStrip1.Text = "menuStrip1";
  332.             this.menuToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
  333.             {
  334.                 this.signoutToolStripMenuItem,
  335.                 this.aboutToolStripMenuItem,
  336.                 this.devloperToolStripMenuItem,
  337.                 this.exitToolStripMenuItem
  338.             });
  339.             this.menuToolStripMenuItem.Name = "menuToolStripMenuItem";
  340.             this.menuToolStripMenuItem.Size = new Size(50, 20);
  341.             this.menuToolStripMenuItem.Text = "Menu";
  342.             this.signoutToolStripMenuItem.Name = "signoutToolStripMenuItem";
  343.             this.signoutToolStripMenuItem.Size = new Size(152, 22);
  344.             this.signoutToolStripMenuItem.Text = "Signout";
  345.             this.signoutToolStripMenuItem.Click += new EventHandler(this.signoutToolStripMenuItem_Click);
  346.             this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
  347.             this.aboutToolStripMenuItem.Size = new Size(152, 22);
  348.             this.aboutToolStripMenuItem.Text = "About";
  349.             this.aboutToolStripMenuItem.Click += new EventHandler(this.aboutToolStripMenuItem_Click);
  350.             this.devloperToolStripMenuItem.Name = "devloperToolStripMenuItem";
  351.             this.devloperToolStripMenuItem.Size = new Size(152, 22);
  352.             this.devloperToolStripMenuItem.Text = "Devloper";
  353.             this.devloperToolStripMenuItem.Click += new EventHandler(this.devloperToolStripMenuItem_Click);
  354.             this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
  355.             this.exitToolStripMenuItem.Size = new Size(152, 22);
  356.             this.exitToolStripMenuItem.Text = "Exit";
  357.             this.exitToolStripMenuItem.Click += new EventHandler(this.exitToolStripMenuItem_Click);
  358.             this.timer1.Interval = 3000;
  359.             this.timer1.Tick += new EventHandler(this.timer1_Tick);
  360.             this.timer2.Interval = 3000;
  361.             this.timer2.Tick += new EventHandler(this.timer2_Tick);
  362.             this.adLabel.AutoSize = true;
  363.             this.adLabel.BackColor = Color.Black;
  364.             this.adLabel.LinkBehavior = LinkBehavior.NeverUnderline;
  365.             this.adLabel.LinkColor = Color.Lime;
  366.             this.adLabel.Location = new Point(-3, 207);
  367.             this.adLabel.Name = "adLabel";
  368.             this.adLabel.Size = new Size(1023, 13);
  369.             this.adLabel.TabIndex = 14;
  370.             this.adLabel.TabStop = true;
  371.             this.adLabel.Text = componentResourceManager.GetString("adLabel.Text");
  372.             this.adLabel.VisitedLinkColor = Color.Green;
  373.             this.adLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(this.adLabel_LinkClicked);
  374.             this.timer3.Enabled = true;
  375.             this.timer3.Interval = 33;
  376.             this.timer3.Tick += new EventHandler(this.timer3_Tick);
  377.             base.AutoScaleDimensions = new SizeF(6f, 13f);
  378.             base.AutoScaleMode = AutoScaleMode.Font;
  379.             base.ClientSize = new Size(412, 219);
  380.             base.Controls.Add(this.adLabel);
  381.             base.Controls.Add(this.groupBox1);
  382.             base.Controls.Add(this.label4);
  383.             base.Controls.Add(this.label3);
  384.             base.Controls.Add(this.userToCreepTxt);
  385.             base.Controls.Add(this.webBrowser1);
  386.             base.Controls.Add(this.label2);
  387.             base.Controls.Add(this.passwordTxt);
  388.             base.Controls.Add(this.label1);
  389.             base.Controls.Add(this.usernameTxt);
  390.             base.Controls.Add(this.loginBtn);
  391.             base.Controls.Add(this.menuStrip1);
  392.             base.MainMenuStrip = this.menuStrip1;
  393.             this.MaximumSize = new Size(428, 324);
  394.             base.Name = "Form1";
  395.             base.Opacity = 0.98;
  396.             this.Text = "Tha NGU Creeper";
  397.             this.groupBox1.ResumeLayout(false);
  398.             this.menuStrip1.ResumeLayout(false);
  399.             this.menuStrip1.PerformLayout();
  400.             base.ResumeLayout(false);
  401.             base.PerformLayout();
  402.         }
  403.     }
  404. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement