30.03.2017, 06:55
I solved almost anything but I'm having troubles now with the output of the hashed pw.
Ex.:
Original hash: b5021bbda761e7b6cde516f616a09f2e3ea5cb3dc48ccbd37a 8deeda94b56562
Hash generated on the GM: B5021BBDA761E7B6CDE516F616A09F2E3EA5CB3DC48CCBD37A 8DEEDA94B56562
As you can see, the string is the same but different so I can't compare a hash/password.
Solved!
If anyone is interested:
Original hash: b5021bbda761e7b6cde516f616a09f2e3ea5cb3dc48ccbd37a 8deeda94b56562
Generated hash: b5021bbda761e7b6cde516f616a09f2e3ea5cb3dc48ccbd37a 8deeda94b56562
Ex.:
Original hash: b5021bbda761e7b6cde516f616a09f2e3ea5cb3dc48ccbd37a 8deeda94b56562
Hash generated on the GM: B5021BBDA761E7B6CDE516F616A09F2E3EA5CB3DC48CCBD37A 8DEEDA94B56562
As you can see, the string is the same but different so I can't compare a hash/password.
Solved!
If anyone is interested:
Код:
new passwordLower[65]; format(passwordLower, sizeof(passwordLower), "%s", YOURPASSWORDVARIABLE); for(new i, len = strlen(passwordLower); i < len; ++i) { passwordLower[i] = tolower(passwordLower[i]); } for(new i, len = strlen(hashed_pass); i < len; ++i) { hashed_pass[i] = tolower(hashed_pass[i]); }
Generated hash: b5021bbda761e7b6cde516f616a09f2e3ea5cb3dc48ccbd37a 8deeda94b56562