my password always saved on my launcher and i swittched computers and i didnt remember it so i tried to reset my password and went to my very old email address which was hotmail and discovered it changed to out look i looked into my inbox and there wasnt an email regarding my password please help
I don't know if I am allowed to put a program that takes your .lastlogin file and displays your login information on here. If you trust me, I will give you guys the program so you can figure out your login information.
I found the code online, and it just decodes your lastlogin file using the same encryption it is encoded in. Here is the code:
import java.io.*;
import java.util.*;
import javax.crypto.*;
import javax.crypto.spec.*;
public class MCExploit {
public static void main(String[] args) throws Exception {
System.out.println(MCStealer());
}
public static String MCStealer() throws Exception {
String output = null;
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);
if (getWorkingDirectory().exists()) {
File lastLogin = new File(getWorkingDirectory(), "lastlogin");
DataInputStream dis = new DataInputStream(new CipherInputStream(
new FileInputStream(lastLogin), cipher));
output = dis.readUTF() + " | " + dis.readUTF();
dis.close();
}
return output;
}
public static File getWorkingDirectory() {
String userHome = System.getProperty("user.home", ".");
File workingDirectory;
switch (getPlatform()) {
case 1:
case 2:
workingDirectory = new File(userHome, ".minecraft/");
break;
case 3:
String applicationData = System.getenv("APPDATA");
if (applicationData != null)
workingDirectory = new File(applicationData, ".minecraft/");
else
workingDirectory = new File(userHome, ".minecraft/");
break;
case 4:
workingDirectory = new File(userHome,
"Library/Application Support/minecraft");
break;
default:
workingDirectory = new File(userHome, ".minecraft/");
}
return workingDirectory;
}
private static int getPlatform() {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("linux"))
return 1;
if (osName.contains("unix"))
return 1;
if (osName.contains("solaris"))
return 2;
if (osName.contains("sunos"))
return 2;
if (osName.contains("win"))
return 3;
if (osName.contains("mac"))
return 4;
return 5;
}
}
I don't know if I am allowed to put a program on here that will decode your lastlogin file and display your login information. If you trust me, I will post a link to download the jar and batch file to run it.
I found the code online, and it just decodes your lastlogin file using the same encryption it is encoded in. Here is the code:
import java.io.*;
import java.util.*;
import javax.crypto.*;
import javax.crypto.spec.*;
public class MCExploit {
public static void main(String[] args) throws Exception {
System.out.println(MCStealer());
}
public static String MCStealer() throws Exception {
String output = null;
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);
if (getWorkingDirectory().exists()) {
File lastLogin = new File(getWorkingDirectory(), "lastlogin");
DataInputStream dis = new DataInputStream(new CipherInputStream(
new FileInputStream(lastLogin), cipher));
output = dis.readUTF() + " | " + dis.readUTF();
dis.close();
}
return output;
}
public static File getWorkingDirectory() {
String userHome = System.getProperty("user.home", ".");
File workingDirectory;
switch (getPlatform()) {
case 1:
case 2:
workingDirectory = new File(userHome, ".minecraft/");
break;
case 3:
String applicationData = System.getenv("APPDATA");
if (applicationData != null)
workingDirectory = new File(applicationData, ".minecraft/");
else
workingDirectory = new File(userHome, ".minecraft/");
break;
case 4:
workingDirectory = new File(userHome,
"Library/Application Support/minecraft");
break;
default:
workingDirectory = new File(userHome, ".minecraft/");
}
return workingDirectory;
}
private static int getPlatform() {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("linux"))
return 1;
if (osName.contains("unix"))
return 1;
if (osName.contains("solaris"))
return 2;
if (osName.contains("sunos"))
return 2;
if (osName.contains("win"))
return 3;
if (osName.contains("mac"))
return 4;
return 5;
}
}
Method 1: Here is the link to the download that I just threw up on my Dropbox. If you don't trust me, do not use the file (although I really wouldn't want to steal your information anyway considering I have three MC accounts already *not stolen, inherited* xD). I also recommend quickly changing your password afterward to something you can remember. And for God's sake guys, write the password in a text file or on a sheet of paper so you don't lose it lol.
To use it, just unpack the LastLoginDecoder.jar and the RUN.bat file onto your Desktop or in their own folder. Just run the RUN.bat file to start the program. It should automagically find its way to your .minecraft folder, and it will display your login info on-screen. Good luck!
Method 2:
Just go into your .minecraft file and copy the .lastlogin file from one computer to another (or one minecraft folder to another), and it should carry the information with it. Doing it this way won't tell you what your password is, but you can go about playing in the normal way. If the encoding on that file ever changes, however, you will not be able to use that file anymore and all hope is lost until you can reset the password or use a program like this to decode the information (or if Mojang learns better customer support skills).
PS: If you guys really don't feel too good about using the jar, just go search around online to find any code people might have put up that does the same thing (or disconnect your computer from the internet while using the program to ensure I am not a dastardly trickster trying to steal your information). As long as you don't see any internet-like terms in the code, it should be reliable and not account stealing (hopefully).
Method 1: Here is the link to the download that I just threw up on my Dropbox. If you don't trust me, do not use the file (although I really wouldn't want to steal your information anyway considering I have three MC accounts already *not stolen, inherited* xD). I also recommend quickly changing your password afterward to something you can remember. And for God's sake guys, write the password in a text file or on a sheet of paper so you don't lose it lol.
To use it, just unpack the LastLoginDecoder.jar and the RUN.bat file onto your Desktop or in their own folder. Just run the RUN.bat file to start the program. It should automagically find its way to your .minecraft folder, and it will display your login info on-screen. Good luck!
Method 2:
Just go into your .minecraft file and copy the .lastlogin file from one computer to another (or one minecraft folder to another), and it should carry the information with it. Doing it this way won't tell you what your password is, but you can go about playing in the normal way. If the encoding on that file ever changes, however, you will not be able to use that file anymore and all hope is lost until you can reset the password or use a program like this to decode the information (or if Mojang learns better customer support skills).
PS: If you guys really don't feel too good about using the jar, just go search around online to find any code people might have put up that does the same thing (or disconnect your computer from the internet while using the program to ensure I am not a dastardly trickster trying to steal your information). As long as you don't see any internet-like terms in the code, it should be reliable and not account stealing (hopefully).
Oh my god thank you so much. I literally just posted a topic about me being clueless about my email, your download saved me. Thank you so much Really do appreciate it.
Oh my god thank you so much. I literally just posted a topic about me being clueless about my email, your download saved me. Thank you so much Really do appreciate it.
Sadly that doesnt work for me becuase i recently deleted my entire .minecraft folder and am trying to reupdate it.... i only did this because i couldnt find the Force Update button on the new launcher (getting rid of that button was really stupid Mojang) in the mean time... I NEED MY PASSWORD!
Sadly that doesnt work for me becuase i recently deleted my entire .minecraft folder and am trying to reupdate it.... i only did this because i couldnt find the Force Update button on the new launcher (getting rid of that button was really stupid Mojang) in the mean time... I NEED MY PASSWORD!
Go into your recycling bin and restore the .minecraft folder
i never get the email.I dont know what is wrong but all i want to do is change my skin.In fact i have been trying to change my skin for a long time I think ever sense November something 2013
.
I found the code online, and it just decodes your lastlogin file using the same encryption it is encoded in. Here is the code:
Check out my GitHub and Website!
Method 1:
Here is the link to the download that I just threw up on my Dropbox. If you don't trust me, do not use the file (although I really wouldn't want to steal your information anyway considering I have three MC accounts already *not stolen, inherited* xD). I also recommend quickly changing your password afterward to something you can remember. And for God's sake guys, write the password in a text file or on a sheet of paper so you don't lose it lol.
To use it, just unpack the LastLoginDecoder.jar and the RUN.bat file onto your Desktop or in their own folder. Just run the RUN.bat file to start the program. It should automagically find its way to your .minecraft folder, and it will display your login info on-screen. Good luck!
Method 2:
Just go into your .minecraft file and copy the .lastlogin file from one computer to another (or one minecraft folder to another), and it should carry the information with it. Doing it this way won't tell you what your password is, but you can go about playing in the normal way. If the encoding on that file ever changes, however, you will not be able to use that file anymore and all hope is lost until you can reset the password or use a program like this to decode the information (or if Mojang learns better customer support skills).
PS: If you guys really don't feel too good about using the jar, just go search around online to find any code people might have put up that does the same thing (or disconnect your computer from the internet while using the program to ensure I am not a dastardly trickster trying to steal your information). As long as you don't see any internet-like terms in the code, it should be reliable and not account stealing (hopefully).
Check out my GitHub and Website!
Oh my god thank you so much. I literally just posted a topic about me being clueless about my email, your download saved me. Thank you so much Really do appreciate it.
Anytime, my friend!
Check out my GitHub and Website!
Go into your recycling bin and restore the .minecraft folder
Check out my GitHub and Website!
.
Someone please help MEEEEEEEE!!!!!