UCP De-hashing Help
#10

Quote:
Originally Posted by Speaker
Посмотреть сообщение
I think u r right because i just make a code where i entered my password and try to see the hashed output and i saw that they are just not the same..
here is the code
PHP код:
<?php
$password 
"21dec2001";
$crypted hash('sha256',$password);
echo 
$crypted;
?>
# You can use a_https.inc to hashing your password on samp server via internet.

Some others tips:

1) Don't make a script who De-hashing... You just need to hash the entered password and compare it with the hashed password stored in your DB.
2) Read this to make what I'v said on (#) -> https://sampforum.blast.hk/showthread.php?tid=319574
3) Hashing a password in your samp server, will eat a lot of resources, so it may lagging when some players will requesting the hashing on same time. (I recomand use a_https.inc)
4) Also, i recommand you to create a GET on your PHP hashing, that will store a uniq CODE, like a password, to avoid spam. (You will use something like this "password=%s&algo=%s&data=%s", when u request the hashing )

Disadvantages -> Your login system will not work if the web server it's down.

Hope u understood.
Reply


Messages In This Thread
UCP De-hashing Help - by Speaker - 23.02.2018, 07:41
Re: UCP De-hashing Help - by Chocopie - 23.02.2018, 08:05
Re: UCP De-hashing Help - by Speaker - 23.02.2018, 08:13
Re: UCP De-hashing Help - by Logic_ - 23.02.2018, 10:03
Re: UCP De-hashing Help - by Speaker - 23.02.2018, 10:16
Re: UCP De-hashing Help - by rfr - 23.02.2018, 10:19
Re: UCP De-hashing Help - by Speaker - 23.02.2018, 10:29
Re: UCP De-hashing Help - by kingmk - 23.02.2018, 11:09
Re: UCP De-hashing Help - by Speaker - 23.02.2018, 12:18
Re: UCP De-hashing Help - by kingmk - 23.02.2018, 16:27

Forum Jump:


Users browsing this thread: 1 Guest(s)