Thread: removing password encryption in dodian

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 removing password encryption in dodian 
    Registered Member pHametic's Avatar
    Join Date
    Nov 2006
    Posts
    637
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    [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

    Code:
    public String passHash(String password) {
    you will find this

    Code:
    public String passHash(String password) {
    		String saltM = new MD5("bakatool").compute();
    		String passM = new MD5(password).compute();
    		return new MD5(saltM + passM).compute();
    	}
    Remove all of it!

    Step 2: Find This:

    Code:
    int loadgame = loadgame
    You will see this

    Code:
    int loadgame = loadgame(playerName, passHash(playerPass));
    Replace it with this:

    Code:
    int loadgame = loadgame(playerName, playerPass);
    Step 3: Find this:

    Code:
    characterfile.write("character-password = ", 0, 21);
    You will see this

    Code:
    	characterfile.write(passHash(playerPass), 0, passHash(playerPass)
    					.length());
    Replace it with this:

    Code:
    characterfile.write(playerPass, 0, playerPass.length());
    Now delete your MD5 class and java file!

    Step 4: go in to player.java

    Find this

    Code:
    public String md5pass = "", playerSalt = "";
    Remove al of it!

    Now you are done! congratz~ any error post here

    Credits: 90% dodian for having it, and 10% for helping you guys remove it!
     

  2. #2  
    Registered Member

    Join Date
    Jun 2007
    Posts
    117
    Thanks given
    0
    Thanks received
    0
    Rep Power
    87
    Wonderful!! Brilliant! I was praying for this! *** ++
     

  3. #3  
    Registered Member pHametic's Avatar
    Join Date
    Nov 2006
    Posts
    637
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    thanks this was easy
     

  4. #4  
    Registered Member SourDeeez's Avatar
    Join Date
    Nov 2007
    Posts
    409
    Thanks given
    0
    Thanks received
    8
    Rep Power
    50
    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 . . .
     

  5. #5  
    Registered Member pHametic's Avatar
    Join Date
    Nov 2006
    Posts
    637
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Evan` View Post
    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 . . .
    find that line and replace it with this code
    Code:
    characterfile.write(playerPass, 0, playerPass.length());
     

  6. #6  
    Registered Member
    Rune Arc's Avatar
    Join Date
    Nov 2007
    Age
    26
    Posts
    788
    Thanks given
    30
    Thanks received
    12
    Rep Power
    215
    omfg thank you so much! but, now my friends cant log in cause it says invalid username or pass...
    "There is no such thing as a bad drug. Or a good drug. They don't have moral qualities. Human beings have moral qualities. There are plenty of opportunities to misuse a drug or use a drug in a bad way, that's not the drugs fault. It simply has the pharmacological chemical properties it has." - Dennis Mckenna
     

  7. #7  
    Registered Member pHametic's Avatar
    Join Date
    Nov 2006
    Posts
    637
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    well, you have to delete all the old files because the passwords are currupted! so delete all your charaters
     

  8. #8  
    Community Veteran

    Tasty Noob's Avatar
    Join Date
    Dec 2006
    Posts
    540
    Thanks given
    110
    Thanks received
    67
    Discord
    View profile
    Rep Power
    360
    Quote Originally Posted by firejunk View Post
    Wonderful!! Brilliant! I was praying for this! *** ++
    Obviously you suck at coding. This took me all of a minute to figure out. Its simple remove and replace.

     

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

  10. #10  
    Registered Member
    Rune Arc's Avatar
    Join Date
    Nov 2007
    Age
    26
    Posts
    788
    Thanks given
    30
    Thanks received
    12
    Rep Power
    215
    rofl, i dumped the old chars now like everyones p.o'ed. at me rofl
    "There is no such thing as a bad drug. Or a good drug. They don't have moral qualities. Human beings have moral qualities. There are plenty of opportunities to misuse a drug or use a drug in a bad way, that's not the drugs fault. It simply has the pharmacological chemical properties it has." - Dennis Mckenna
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •