A custom php algorithm in hashcat?
#1
I'm trying to crack passwords on hashcat but this is the algorithm in php and I'm not sure how I can use this in hashcat:

function pass2($password, $id) {
    $key = "r2chYO214w>1a32";
    $hash1 = sha1($password, true);
    $hash2 = $hash1 ^ sha1($id . $key . sha1($hash1, true), true);
    return base64_encode($hash2);
}

So my question is how exactly do I get to crack passwords on hashcat using this algorithm, please help.


Messages In This Thread
A custom php algorithm in hashcat? - by reeexy - 10-27-2017, 06:28 PM
RE: A custom php algorithm in hashcat? - by atom - 10-28-2017, 12:31 PM