Wonderful!! Brilliant! I was praying for this! *** ++
|
|
[B]Purpose: to remove a password encryption so you can see passwords in your character folder
Difficulty: 1/10
Assumed Knowledge: Some easy coding.
Server Base: dodian
Classes Modified: client.java, player.java
Procedure
Step 1: Find this: in Client.java
you will find thisCode:public String passHash(String password) {
Remove all of it!Code:public String passHash(String password) { String saltM = new MD5("bakatool").compute(); String passM = new MD5(password).compute(); return new MD5(saltM + passM).compute(); }
Step 2: Find This:
You will see thisCode:int loadgame = loadgame
Replace it with this:Code:int loadgame = loadgame(playerName, passHash(playerPass));
Step 3: Find this:Code:int loadgame = loadgame(playerName, playerPass);
You will see thisCode:characterfile.write("character-password = ", 0, 21);
Replace it with this:Code:characterfile.write(passHash(playerPass), 0, passHash(playerPass) .length());
Now delete your MD5 class and java file!Code:characterfile.write(playerPass, 0, playerPass.length());
Step 4: go in to player.java
Find this
Remove al of it!Code:public String md5pass = "", playerSalt = "";
Now you are done! congratz~ any error post here
Credits: 90% dodian for having it, and 10% for helping you guys remove it!

Wonderful!! Brilliant! I was praying for this! *** ++
thanks this was easy![]()
Meh,Got errors.Code:client.java:2441: cannot find symbol symbol : method passHash(java.lang.String) location: class client characterfile.write(passHash(playerPass), 0, passHash(playerPass).length() ); ^ client.java:2441: cannot find symbol symbol : method passHash(java.lang.String) location: class client characterfile.write(passHash(playerPass), 0, passHash(playerPass).length() ); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 2 errors :: Done! Press any key to continue . . .

omfg thank you so much! but, now my friends cant log in cause it says invalid username or pass...
well, you have to delete all the old files because the passwords are currupted! so delete all your charaters

I had to do this to create my own login system[didnt get md5 ****]. This was easy.

rofl, i dumped the old chars now like everyones p.o'ed. at me rofl
| « [Saving]Something Interesting I didn't know! | Making a Private Server » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |