Jump to content

getclientsdetails > password hash issues


muchos

Recommended Posts

I am having trouble creating the correct hash for a certain account, not sure why, could be due an unusual salt.

 

I can log into the control panel with the password: mutasim4321 , but when it comes to creating a hash to use over the API it doesn't match the one saved.

 

The password hash stored is e706df93eceb437192fe0ae7d1793c92:ýsg

 

The one created is md5(ýsgmutasim4321) = be2c54930f8df4c3db04fd57f5c56186.

 

Any ideas?

Link to comment
Share on other sites

What API are you trying to use? The WHMCS api expects admin login credentials, and the password field uses the just an md5 hash of the password. There is no salt defined. The password stored in the tbladmins table in the database DOES have a salt, so it wont be a direct match to what you're passing to the API.

 

http://docs.whmcs.com/API:Example_Usage

Link to comment
Share on other sites

AFAIK you can't you decryptpassword for clients passwords.

 

The issues isn't my understanding of hashing the password with the salt, it is the issue of mismatching hash's with this particular salt, potentially a bug or error in handling foreign characters?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated