Jump to content
  • 0

Question

6 answers to this question

Recommended Posts

Posted

Can make everything with encrypted data using MD5()

UPDATE `login` SET `user_pass` = MD5('"+<NEW PASSWORD>+"') WHERE `account_id` = '"+getcharid(3)+"'";
  • Upvote 1
Posted

Can make everything with encrypted data using MD5()

UPDATE `login` SET `user_pass` = MD5('"+<NEW PASSWORD>+"') WHERE `account_id` = '"+getcharid(3)+"'";

 

Thank you.

You can also search by their login ID:

UPDATE `login` SET `user_pass` = MD5('NEW_PASSWORD') WHERE `userid`='THEIR_LOGIN_ID';

 

I'm using this, easy to update from sql..

 

Thank you to both of you..

Posted

Well technically, you could use an in-game NPC to change your login password as many times as you want. It would all work fine, and your password would be whatever you set it to the last time you used the NPC.

Maybe Winz was thinking of this query trunk/sql-files/tools/convert_passwords.sql that converts all passwords to MD5 hashes:

UPDATE `login` SET `user_pass`=MD5(`user_pass`);
^ do NOT execute that more than once, or else you would be converting MD5-passwords to hashes of MD5 hashes.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...