Hello there!
I'm new to this forum and to this program, so I need a little help :-)
I need to crack my password in my own database, I don't know the salt - but I know how it's created (code snippet I used on my site).
This is how the salt/password is created:
I appreciate any help - thanks!
I'm new to this forum and to this program, so I need a little help :-)
I need to crack my password in my own database, I don't know the salt - but I know how it's created (code snippet I used on my site).
This is how the salt/password is created:
Code:
{
if ($salt === null) {
$salt = substr(md5(uniqid(rand(), true)), 0, SALT_LENGTH);
}
else {
$salt = substr($salt, 0, SALT_LENGTH);
}
return $salt . sha1($pwd . $salt);
}
I appreciate any help - thanks!