Help for cracking SHA1 password:salt
#1
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:
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!


Messages In This Thread
Help for cracking SHA1 password:salt - by SnakeEye - 10-15-2012, 09:49 PM