Belelros Posted September 15, 2010 Share Posted September 15, 2010 Hi there, Do you know what method of encodement uses WHMCS to encode user passwords? I ask because I would like to create a hook which create a user account in a phpBB forum which uses MD5 so, the idea would be to make a query which get that password and put in the phpbb table. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted September 16, 2010 Share Posted September 16, 2010 http://wiki.whmcs.com/API:Get_Clients_Password http://wiki.whmcs.com/API:Decrypt_Password http://php.net/manual/en/function.md5.php 0 Quote Link to comment Share on other sites More sharing options...
Belelros Posted September 16, 2010 Author Share Posted September 16, 2010 http://wiki.whmcs.com/API:Get_Clients_Passwordhttp://wiki.whmcs.com/API:Decrypt_Password http://php.net/manual/en/function.md5.php what you get there is the HASH I don't know how to get the password even in MD5. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted September 17, 2010 Share Posted September 17, 2010 Did you read all of the links? The Decrypt_Password function is for decrypting the hash generated from Get_Clients_Password. Then you would use the PHP md5() function to convert it to MD5 and insert it into the phpBB database. 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.