Jump to content

Argon2 and byebye MD5 password on db


Recommended Posts

Hi community!

Since the big release of ms5.7 source the people can now edit new servers without any knowledge of C++ and what concerns me is that the db still uses MD5 passwords.


I've been trying to follow the tutorials on the web, I find 2 similar, I followed all the rules to implement this argon2 algorithm password.
 



And another from an old external source:

https://www.metin2downloads.to/thread/13106-implementation-of-a-cryptographically-secure-password-hash-function-with-libsodi/


Here are the files that I tried to edit (ms5.7) but can't access the account at game. Wrong Password.

db.h:

https://pastebin.com/RnBZa5Te

input_auth.cpp:

https://pastebin.com/EMz5sPVb

db.cpp

https://pastebin.com/eEbaEDEk


Hope someone can help me 😉 or contact me via MP.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I mean, I've been trying to get this for a few weeks. I can't understand well c++ but someone can help me?


Here are the source default files unmodified:


DB.cpp:
https://pastebin.com/jPNRuQ6z

DB.h:
https://pastebin.com/niBLGdsY

Input_auth.cpp:

https://pastebin.com/e0qRqmuQ


Im just trying to change the hash to Argon2 algorithm. (DB, server connections and website).

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.