I'm trying to decrypt a SHA1 salted hash.
The hashing algorithm is:
((yes, it is from the 8tracks leak))
Example:
password: hello
salt: test
returns: b5150f76dae9b7465e69594dd7cfa3d04702102
For those who have experience using hashcat, what would be the best way to find the pass?
Is there a way to perform a mask attack to find 'hello', while keeping '--test--' constant at the beginning and '--' at the end?
Using hashcat mask attack, characters can stay constant during the iterations like:
returns the candidates:
But when I try to prepend '--test--' it errors because it mistakes the hyphens as commands. I would post in hashcat forums but I can't seem to get my account to get verified, don't know why.
The hashing algorithm is:
Code
SHA-1('--'.$salt.'--'.$pass'--')Example:
password: hello
salt: test
Code
SHA-1('--test--hello--')For those who have experience using hashcat, what would be the best way to find the pass?
Is there a way to perform a mask attack to find 'hello', while keeping '--test--' constant at the beginning and '--' at the end?
Using hashcat mask attack, characters can stay constant during the iterations like:
Code
hashcat64.exe -a 3 pass?dCode
pass0
pass1
...
pass9But when I try to prepend '--test--' it errors because it mistakes the hyphens as commands. I would post in hashcat forums but I can't seem to get my account to get verified, don't know why.

