SA-MP Forums Archive
Need help with a UCP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with a UCP (/showthread.php?tid=644747)



Need help with a UCP - DrakeBell - 13.11.2017

So I'm using this script https://sampforum.blast.hk/showthread.php?tid=641235 and so it has a master account system which is all hooked to MYSQL. I was working on a UCP and the only the problems I'm getting is the password thing. So currently the master account's password are hashed out by Whirpool's hashing system, I want to link that to the UCP so that when ever someone uses the master account password it automatically detects the whirpool hashed password and lets the person in because currently when someone uses the the master account password it denies them and when someone uses the hashed ma account password code provided in the mysql db, it lets the person in.

Let me know what code you guys need access to.


Re: Need help with a UCP - Lucases - 13.11.2017

UCP? If you are going to make a website and connect to your database I think php supports Whirpool

I'm not an expert of php, but I found an example of how you should hash with Whirpool on php.

PHP код:
$myHash hash'whirlpool'$salt $password ); 



Re: Need help with a UCP - DrakeBell - 13.11.2017

Quote:
Originally Posted by Lucases
Посмотреть сообщение
UCP? If you are going to make a website and connect to your database I think php supports Whirpool

I'm not an expert of php, but I found an example of how you should hash with Whirpool on php.

PHP код:
$myHash hash'whirlpool'$salt $password ); 
Oh I'm aware of how the hashing thing is coded into the php but I'm uncertain if it'll fix the problem. I'll give it a go anyways and hope for the best.


Re: Need help with a UCP - DrakeBell - 13.11.2017

Yup as I suspected it still doesn't recognize the encoded password if I use the normal master account password to login.


Re: Need help with a UCP - DrakeBell - 14.11.2017

Bump