[MySQL]Hash
#4

pawn Код:
WP_Hash(hashPassword, 129, password);
You do have Whirlpool but you don't use the hashed password (which was stored in hashPassword) anywhere. It'd be better to be a local string though.

Take a look:
pawn Код:
SaveToMysql(password);
mysql_real_escape_string(password, Escape[1]);
You escape the password and you pass it as an argument to the query when you should've used the hashed password instead.
Reply


Messages In This Thread
[MySQL]Hash - by erorche - 30.11.2013, 11:35
Re: [MySQL]Hash - by SilentSoul - 30.11.2013, 11:36
Re: [MySQL]Hash - by erorche - 30.11.2013, 11:39
Re: [MySQL]Hash - by Konstantinos - 30.11.2013, 11:44
Re: [MySQL]Hash - by erorche - 30.11.2013, 11:50
Re: [MySQL]Hash - by xVIP3Rx - 30.11.2013, 11:50
Re: [MySQL]Hash - by erorche - 30.11.2013, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)