Jump to content
  • 0

MD5 password problem


lionheart

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

I registered a new account with
username: ragnarok_f
password: ragnarok

The first md5 hash of the password from the database was: 5dbbdacbfcbc17ac2d9800b97d10d503

I closed the client and logged in again with the same account, and gives me an "invalid password" error because the md5 password of "ragnarok" has changed into: ce1c49d60e06e9c8166f0f18c120cc5e

Then later on, I can now log in to the game.

Why the md5 hash is always changing randomly whenever I'm closing the client when the password remains the same?

How to fix this?




PROBLEM SOLVED: I REFERRED TO HERE AND IT HELPED. THANKS FOR HELPING GUYS! PLEASE CLOSE THIS THREAD

Edited by lionheart
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

The MD5 hashsum of 'ragnarok' is 84c114001520462ff6357ee859cac52d, which is neither of the passwords used in your screenshot. I can only suggest that the password you entered when registering was not 'ragnarok' due to a miskey. If i were you i'd replace the password in the db.

On a side-note: all 5 of your signature links point to outdated content. Please update them. We don't want anyone trying to install rAthena using SVN since we don't use it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   16
  • Joined:  12/19/13
  • Last Seen:  

Hi,
emulador/conf/import/login_conf.txt

new_account: yes
use_MD5_passwords: 0

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

8 hours ago, Akkarin said:

The MD5 hashsum of 'ragnarok' is 84c114001520462ff6357ee859cac52d, which is neither of the passwords used in your screenshot. I can only suggest that the password you entered when registering was not 'ragnarok' due to a miskey. If i were you i'd replace the password in the db.

On a side-note: all 5 of your signature links point to outdated content. Please update them. We don't want anyone trying to install rAthena using SVN since we don't use it.

I did what you instructed, but no matter what I do, I think the client's trying to convert it again into md5. (Hopefully not)

asd.JPG

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

8 hours ago, chatterboy said:

Did you change the Client MD5 hash check? maybe you did enable it

Nope. I only enabled this
 

// Store passwords as MD5 hashes instead of plain text?
// NOTE: Will not work with clients that use <passwordencrypt>
use_MD5_passwords: yes

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

What are you typing into the client when trying to log in?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

7 hours ago, Zikoziz said:

Hi,
emulador/conf/import/login_conf.txt

new_account: yes
use_MD5_passwords: 0

Hello, I don't understand clearly what you're trying to say, but if I'm going to do this, the server won't be able to login to character server since the server password is stored in the database with md5 hash.

If you're telling me that I have to enable these two, I already did it. It's just a client being so tricky. Thanks!

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

32 minutes ago, chatterboy said:

The default is:

use_MD5_passwords: no

and if you put yes then you must diff your client with enabled MD5 password hash :) If your diff tool is NEMO enable the FORCE SEND CLIENT HASH PACKET

 

client hash packet has nothing to do with this

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

15 minutes ago, chatterboy said:

The default is:

use_MD5_passwords: no

and if you put yes then you must diff your client with enabled MD5 password hash :) If your diff tool is NEMO enable the FORCE SEND CLIENT HASH PACKET

 

I tried two different clients:
1.) Client with no "md5 password enabled" patched.
2.) Client with "md5 password enabled" patched.

22.JPG

11.JPG

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

41 minutes ago, Akkarin said:

What are you typing into the client when trying to log in?

Only "ragnarok". I even type this very carefully.

But here's another. I registered a new account with username: test_m and password: test and this is the result.

I believe that the md5 hash of test is: 098f6bcd4621d373cade4e832627b4f6

I don't know why client is converting it differently

test.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  12/30/13
  • Last Seen:  

I figured out why I can't login properly. I think it has something to do with the client.

I didn't use md5 password to the server, only a string and this is the result

I'm using 2015-11-04a client which I got it from HERE

testa.JPG

Link to comment
Share on other sites

  • -2

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

Did you change the Client MD5 hash check? maybe you did enable it

Link to comment
Share on other sites

  • -3

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

The default is:

use_MD5_passwords: no

 

Edited by chatterboy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...