YooSERV Posted July 24, 2009 Share Posted July 24, 2009 Hello, I'm creating a module for my customers, but I need to know which cryptage is used for password sha1 or md5? Maybe another one? I've tried with md5 with no sucess. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
HostOrca Posted July 24, 2009 Share Posted July 24, 2009 I beleive it's md5 + a random salt. If my memory serves me well, there's an actionhook for when a password is created/changed, that allows you to tie in with other scripts. Not sure how to do it though. 0 Quote Link to comment Share on other sites More sharing options...
YooSERV Posted July 25, 2009 Author Share Posted July 25, 2009 Well I'm making a script that verify if the user password is ok so I've made if (md5($_GET['password']) != $date['password']) { $message = "wrong password"; } else { ... But it doesn't work, the password is always wrong. 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted July 25, 2009 Share Posted July 25, 2009 The passwords are encrypted irreversibly You'd have to change the encryption type, no clue how to do that though. 0 Quote Link to comment Share on other sites More sharing options...
YooSERV Posted July 26, 2009 Author Share Posted July 26, 2009 Well doesn't matter, will do it with whmcs then ^^' 0 Quote Link to comment Share on other sites More sharing options...
keliix06 Posted July 26, 2009 Share Posted July 26, 2009 Open a ticket, I'm sure they can tell you what you need to do to verify. It can obviously be done since they do it for the system. And HostOrca is right, it's MD5 with a salt 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.