ThomasEB Posted June 28, 2013 Author Share Posted June 28, 2013 Hello all I am trying to connect my game with my site MyBB database. Everything is working except it is encrypting my password wrong on VB6 side to match MyBB side.Here is PHP encryption code:```$stored_pass = md5(md5($salt).md5($plain_pass));```And here is my VB6 code:``` Salt = MySQL_GetSalt(Name) Debug.Print Salt If Salt = vbNullString Then MySQL_PasswordOK = False Exit Function End If EncSalt = MD5_string(Salt) EncPass = MD5_string(Password) FinalPass = MD5_string(EncSalt + EncPass)```And yes, are values are getting correctly from MySQL database. But for some reason it is hashing it differently in VB6 as in PHP. **I am willing to give source of this MyBB - VB6 authentification system to anyone who will help me to make this working.** Link to comment Share on other sites More sharing options...
ThomasEB Posted July 1, 2013 Author Share Posted July 1, 2013 Solved, solution was using LCase. Thanks for help everyone lol. Link to comment Share on other sites More sharing options...
OrsinPeach55 Posted November 5, 2013 Share Posted November 5, 2013 This post really opened my eyes. it is not only eye opening rather very beneficial for the people those who want to do something good in his life. Link to comment Share on other sites More sharing options...
ThomasEB Posted November 12, 2013 Author Share Posted November 12, 2013 Wth I can post here even when I am banned? LOL Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now