how to read WP_Hash code -
TYDS - 13.03.2017
I have this : 6D93DBCA0741E029D9AD8048A098E6D9C08A98271A5693AC04 52C14EE332333D9277603598DC6B6BCB8DA3E8F0043D205BC7 9B3F8D5061B614AD0BDFE0402E85
code create password for new account
Code:
stock g_mysql_CreateAccount(playerid, accountPassword[])
{
new string[256];
new passbuffer[129];
WP_Hash(passbuffer, sizeof(passbuffer), accountPassword);
format(string, sizeof(string), "INSERT INTO `accounts` (`RegiDate`, `LastLogin`, `Username`, `Key`) VALUES (NOW(), NOW(), '%s','%s')", GetPlayerNameExt(playerid), passbuffer);
mysql_function_query(MainPipeline, string, false, "OnQueryFinish", "iii", REGISTER_THREAD, playerid, g_arrQueryHandle{playerid});
return 1;
}
like the title have any tool to read the code above ?//
Re: how to read WP_Hash code -
X337 - 13.03.2017
Did you mean want to read plain password?
No you can't.
Re: how to read WP_Hash code -
TYDS - 13.03.2017
Quote:
Originally Posted by X337
Did you mean want to read plain password?
No you can't.
|
why ??
Re: how to read WP_Hash code -
GoldenLion - 13.03.2017
Quote:
Originally Posted by TYDS
why ??
|
Hashing is one way in. It's not possible to unhash as far as I know.
Re: how to read WP_Hash code -
TYDS - 13.03.2017
Quote:
Originally Posted by GoldenLion
Hashing is one way in. It's not possible to unhash as far as I know.
|
oh
Re: how to read WP_Hash code -
X337 - 13.03.2017
Because whirlpool is not encryption algorithm, and can't be decrypted.
Why do you want to view plain text of that hash anyway?
Re: how to read WP_Hash code -
Infinity - 13.03.2017
Let's get to the core: Why would you want to read the password?
Re: how to read WP_Hash code -
Toroi - 13.03.2017
Quote:
Originally Posted by Infinity
Let's get to the core: Why would you want to read the password?
|
For the same reason I don't use my common passwords in sa-mp servers, if i'd have to guess.
Re: how to read WP_Hash code -
BlackbirdXd - 13.03.2017
Might be in case if someone forget his password in his server?
Re: how to read WP_Hash code -
GTLS - 13.03.2017
If i am not wrong, it hashes same string everytime same. if so, you can try making a CMD to convert a String into Hash. using that you can at least see how its getting hashed. after some rechearch, you can catch its algorithm, and finally can read codes.
Best of luck