Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

How to decode lastlogin file


  • Please log in to reply
4 replies to this topic

#1

Owned3600
  • Location: Behind You...SSssSSS BOOM!
  • Minecraft: owned3600 (no caps)

Posted 01 September 2011 - 08:59 PM

Hey guys so today when i came back from school i forgot my minecraft username and password.....All i can remember that it starts with a g I have my username and password saved into my minecraft folder but i cant copy and paste it...I want to change my skin and my email had the same password so that wouldn't help either so then i called my friend and he told me that i had to go into the lastlogin file in my .minecraft folder so then i went in there and my mind was blank....so can anone tell me another way to find out my password or how to decrypt the lastlogin file?


Thanks

Register or log in to remove.

#2

gompasta
    gompasta

    Void Walker

  • Members
  • 1527 posts

Posted 01 September 2011 - 09:25 PM

1: Dont make a forgetable password. If you make a new password, write it down somewhere secret.

2: If it were possible to get usernames and passwords that easy, then every account would be stolen already.

The only way you can play minecraft again, is remembering your password, sending an email to the help adress, or simply buy it again on a new account.
Posted Image
http://twitter.com/#!/Gompasta Mainly DF and Minecraft talk.

#3

JoeShoe2
    JoeShoe2

    Out of the Water

  • Members
  • 6 posts

Posted 04 March 2012 - 03:32 AM

I made a mincraft last login decrypter :) you just have to look around enough to find it. sorry im not releasing it yet but here is a bit of code to help you make ur own. its java. you will have to edit it  abit and then compile it.

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;


  }



}



#4

Yoshidude
  • Location: Minecraft
  • Minecraft: Yoshidude267410

Posted 08 June 2012 - 12:38 AM

Watch this:


And no, I am not clicking on your dragon egg thing.
Posted Image

#5

cricciogp
  • Minecraft: surgec411

Posted 15 September 2012 - 03:42 PM

View PostJoeShoe2, on 04 March 2012 - 03:32 AM, said:

I made a mincraft last login decrypter Posted Image you just have to look around enough to find it. sorry im not releasing it yet but here is a bit of code to help you make ur own. its java. you will have to edit it  abit and then compile it.

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;

  }


}


it would be nice if some people would stop posting this type of spam...
You must respect
TheSoVeryEpicSURGE