Jump to content

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

[Tool] Dump.jar - Minecraft Login Recovery.


  • Please log in to reply
39 replies to this topic

#1

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 07 January 2012 - 10:20 AM

Dump.jar - Minecraft Login Recovery
Now with *nix support!

Now it may seem odd to have a tool like this but i like to make small nifty albeit sometimes useless things.
This tool, as the title says, is a minecraft Password Recovery Tool, and it basically Decrypts the lastLogin File
In your Minecraft Folder, alas its only for windows atm, until i get the Path Code working and up, but it does work.

It runs and dumps the info to lastLogin.dmp in the minecraft folder, so you can recover your account information.

As a warning, i made this Tool For fun. Not To Steal Passwords... i dont think it should be used for that and i dont condone that.

Note To Mods/Admins:

I skimmed over the rules and did not see anything not allowing this kind of tool so if it does, im sorry and just delete this Topic, Sorry ^_^'

Sample Output:

[*] Dump.Jar - Minecraft Password Recovery Tool
[*] 
[*] This Tool is Granted to you AS IS, without any implied support or warranty
[*] The Author of this tool is not Responsible for any misuse or loss of information
[*] that may be caused by this tool, use at your own discretion
[*] 
[*] This Tool is For Legal Use only. And my only be used for Recovering your Own Lost
[*] Information Stored in minecrafts's lastLogin File. Any other use is strictly forbidden
[*] 
[*] If you Do not Agree to these Terms Halt this Tool Now and Remove from your Harddrive
[*] You have 30 seconds from the time of this output to halt if you do not agree with the terms
[*] 
[*] Starting.....
[*] 
[*] Attempting To Dump Login File at C:\Users\<USERNAME>\AppData\Roaming\.minecraft
[*] Dump successful! look for a lastLogin.dmp in your minecraft folder, 
[*] Then use a tool like eraser to securely delete the file....

License:

This Tool is Granted to you AS IS, without any implied support or warranty
The Author of this tool is not Responsible for any misuse or loss of information
that may be caused by this tool, use at your own discretion

This Tool is For Legal Use only. And my only be used for Recovering your Own Lost
Information Stored in minecrafts's lastLogin File. Any other use is strictly forbidden

If you Do not Agree to these Terms, Do not Download this Tool

Other Information:

Any bugs and such can be posted here, but try to truncate any personal information, such as usernames and system paths.

This is also a one time Release tool, meaning i wont update it unless asked.

Download Location:

Dump.jar v.0.3 [*NIX SUPPORT] - Adf.ly | Mediafire

Dump.jar v.0.2 [*NIX SUPPORT] - Adf.ly | Mediafire

Dump.jar v0.1 [NO *NIX SUPPORT] - Adfly | Mediafire

Change-log:
v 0.3: Fixed a Bug, and Added a GUI option
v 0.2: Updated for *NIX, enjoy.
v 0.1: Initial Release, No *nix support yet (No one asked...)

Source Code: https://github.com/X.../dump/dump.java
Posted Image

Register or log in to remove.

#2

Marat
    Marat

    Stone Miner

  • Members
  • 75 posts
  • Minecraft: TheNinth

Posted 07 January 2012 - 10:22 AM

Nice.
Congratulations sir.
Now for someone to incorporate it into a mod and make it send details to somewhere.
=/
Posted Image

#3

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 07 January 2012 - 10:24 AM

View PostMarat, on 07 January 2012 - 10:22 AM, said:

Nice.
Congratulations sir.
Now for someone to incorporate it into a mod and make it send details to somewhere.
=/
That my good sir, i do not condone, and if anyone does end up doing that, as i have stated, its not my fault that they are malicious in nature. and may the worst come to them. :|
Posted Image

#4

Marat
    Marat

    Stone Miner

  • Members
  • 75 posts
  • Minecraft: TheNinth

Posted 07 January 2012 - 10:29 AM

View PostXAMPP, on 07 January 2012 - 10:24 AM, said:

That my good sir, i do not condone, and if anyone does end up doing that, as i have stated, its not my fault that they are malicious in nature. and may the worst come to them. :|
Yeah, I hope they burn in hell.
Posted Image

#5

Xtansia
    Xtansia

    Iron Miner

  • Members
  • 335 posts
  • Location: Everywhere, Yet Nowhere.
  • Minecraft: tomass1996

Posted 07 January 2012 - 11:54 AM

I just want to say I can confirm there is no "malicious" code.
ie. uploading the dumps or anything.
Now to be a  :SSSS: and implement it into a mod....
Just kidding I wouldn't do that.
Although it could be useful for freaking out family or good friends...  :iapprove:

#6

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 07 January 2012 - 12:14 PM

View Posttomass1996, on 07 January 2012 - 11:54 AM, said:

I just want to say I can confirm there is no "malicious" code.
ie. uploading the dumps or anything.
Now to be a  :SSSS: and implement it into a mod....
Just kidding I wouldn't do that.
Although it could be useful for freaking out family or good friends...  :iapprove:
heh glad to have external confirmation ^_^
Posted Image

#7

Xtansia
    Xtansia

    Iron Miner

  • Members
  • 335 posts
  • Location: Everywhere, Yet Nowhere.
  • Minecraft: tomass1996

Posted 07 January 2012 - 12:28 PM

View PostXAMPP, on 07 January 2012 - 12:14 PM, said:

heh glad to have external confirmation ^_^

Just a question but why does your signature link to localhost/127.0.0.1?

#8

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 07 January 2012 - 12:37 PM

View Posttomass1996, on 07 January 2012 - 12:28 PM, said:

Just a question but why does your signature link to localhost/127.0.0.1?
just a placeholder until i get everything set for the project :)
Posted Image

#9

pwnedgod
    pwnedgod

    Void Walker

  • Members
  • 1843 posts
  • Location: ಠ_ಠ McF ಠ_ಠ
  • Minecraft: pwnedgod

Posted 07 January 2012 - 12:40 PM

View PostXAMPP, on 07 January 2012 - 12:37 PM, said:

just a placeholder until i get everything set for the project :)

You don't need it to redirect it to 127.0.0.0 lol. just make it blank.
Too addicted with Counter-Strike: Source for some reason...
Posted Image

#10

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 07 January 2012 - 11:18 PM

View Postpwnedgod, on 07 January 2012 - 12:40 PM, said:

You don't need it to redirect it to 127.0.0.0 lol. just make it blank.
meh heh :P
Posted Image

#11

sneezing panda

Posted 08 January 2012 - 01:55 AM

Why not make it just show up in a textbox? As in have it decrypt it and once it has decrypted it, show what it found in a textbox.

#12

Xtansia
    Xtansia

    Iron Miner

  • Members
  • 335 posts
  • Location: Everywhere, Yet Nowhere.
  • Minecraft: tomass1996

Posted 08 January 2012 - 02:08 AM

View Postsneezing panda, on 08 January 2012 - 01:55 AM, said:

Why not make it just show up in a textbox? As in have it decrypt it and once it has decrypted it, show what it found in a textbox.

Well given this doesn't have a gui it would be a simple task of just reading the dumped file into the console stream.

#13

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 08 January 2012 - 03:27 AM

View Postsneezing panda, on 08 January 2012 - 01:55 AM, said:

Why not make it just show up in a textbox? As in have it decrypt it and once it has decrypted it, show what it found in a textbox.
Because, That would involve a GUI, and GUI's in any language take up much more code than just a console application like this... and i tend to like small utility's to be command line, not GUI, but thats my personal Preference.
Posted Image

#14

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 10 January 2012 - 04:57 AM

Note to Anyone Waiting for *nix Support... its coming Soon...
Posted Image

#15

XAMPP
    XAMPP

    Carpenter

  • Members
  • 44 posts
  • Location: 0xDeadBeef
  • Minecraft: XAMPP

Posted 14 January 2012 - 05:47 AM

Sorry To Bump But it now Has *Nix support, so Enjoy!
Posted Image

#16

Trickster2212

Posted 18 January 2012 - 02:23 AM

Hey, Im new here, but I just wanted to know how to run the script, when I do I get a cannot find mainclass:dump error. How can I fix it?

#17

Xtansia
    Xtansia

    Iron Miner

  • Members
  • 335 posts
  • Location: Everywhere, Yet Nowhere.
  • Minecraft: tomass1996

Posted 18 January 2012 - 03:00 AM

View PostTrickster2212, on 18 January 2012 - 02:23 AM, said:

Hey, Im new here, but I just wanted to know how to run the script, when I do I get a cannot find mainclass:dump error. How can I fix it?

You have to run it from command prompt, Do this:
-Open command prompt if your on windows or terminal for macs and linux
-Type (without the quotes): "java -jar "
-And then drag the dump.jar onto the command prompt window makes sure there is a space between "-jar" and the path to the "dump.jar"
-Press enter and it should run.

#18

Trickster2212

Posted 19 January 2012 - 01:38 AM

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation.  All rights reserved.

C:\Users\(Redacted for security puposes)>java -jar C:\Users\CHARLE~1\AppData\Local\Temp\Rar$DR81.
272\Dump.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: dump : Unsupp
orted major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: dump. Program will exit.

what now?

#19

Xtansia
    Xtansia

    Iron Miner

  • Members
  • 335 posts
  • Location: Everywhere, Yet Nowhere.
  • Minecraft: tomass1996

Posted 19 January 2012 - 03:15 AM

View PostTrickster2212, on 19 January 2012 - 01:38 AM, said:

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation.  All rights reserved.

C:\Users\(Redacted for security puposes)>java -jar C:\Users\CHARLE~1\AppData\Local\Temp\Rar$DR81.
272\Dump.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: dump : Unsupp
orted major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: dump. Program will exit.

what now?

It seems that you are running java 1.6 while this is probably compiled in 1.7,
I could recompile this for you with "legacy" support? If you like?

#20

Slay3R?
    Slay3R?

    Void Walker

  • Members
  • 1572 posts
  • Location: High up in the sky

Posted 19 January 2012 - 01:31 PM

Nice program :)
I couldn't run the jar however as I'm using JRE 1.6
I copied the code into Eclipse. When I tried to run the code however I got the following exception:

Attempting To Dump Login File at C:\Users\xxx\.minecraft
java.io.FileNotFoundException: C:\Users\xxx\.minecraft\lastlogin (The system cannot find the path specified)
[*] Dump failed! No idea why, check the trace. 	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at dump.DumpContents(dump.java:63)
	at dump.main(dump.java:48)

It seems it's looking for the file at path C:\Users\xxx\.minecraft while it should be looking at C:\Users\xxx\AppData\Roaming\.minecraft

After debugging I found out that the osType.ordinal() call was returning 2 and therefore uses this code

Directory = new File(userHome, '.' + applicationName + '/');

The code at case 3 however will return the correct path.
I edited the code at the case 2 to look like this:

case 2:
			//Directory = new File(userHome, '.' + applicationName + '/');
			String applicationData2 = System.getenv("APPDATA");
			if (applicationData2 != null)
				Directory = new File(applicationData2, "." + applicationName + '/');
			else
				Directory = new File(userHome, '.' + applicationName + '/');
			break;

This will return the correct path and works fine.
I'm using Windows 7 x64. I haven't tested this at any other OS but you might want to look into this.

I'm not to familiar with Java, especially with the enum types. But given the documentation popping up within Eclipse on the ordinal() method I might have found a bug.

Quote

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

It starts with an index of 0, while your code starts at 1 and ends at 4. Shouldn't the case checks start at 0 and end on 3?

Well I hope this information was in any way useful to you.