hi guys i can't find the right way to crack salted sha1 hashes , i triyed -m 120 , -m 110 and -m 130 . it always give me error massage like
Hash-encoding exception ,
(Hashfile 'C:\hashcat-4.1.0\1.txt' on line 1 (9**...d59efda4793e68ad364dd9acfaaef***): Hash-encoding exception
Hashfile 'C:\hashcat-4.1.0\1.txt' on line 2 (47c23:...66a4af28aa8b7cd33f741d8b0d338d2c): Hash-encoding exception
Hashfile 'C:\hashcat-4.1.0\1.txt' on line 3 (85a21:...d51c1da06309ea161b24a6348cb59c90): Hash-encoding exception)
i think the problem is in the hashes file so i tried different formats like :
$9***b$8321515fd59efda4793e68ad364dd9acfaaef***
9***b:8321515fd59efda4793e68ad364dd9acfaaef***
8321515fd59efda4793e68ad364dd9acfaaef***:9***b
^i did hide some letters ^
i also tried different Encoding for the TXT file such as ANSI , UTF-8
Thanks.
format is hash:salt, hash in hex format, salt in binary (if you have non-ascii characters specify the salt in hex and use --hex-salt)
Your hash file has a BOM, you need to remove that.
(06-28-2018, 04:08 PM)undeath Wrote: [ -> ]format is hashalt, hash in hex format, salt in binary (if you have non-ascii characters specify the salt in hex and use --hex-salt)
Your hash file has a BOM, you need to remove that.
this is example one of the hashes i want to crack
$salt
$hash
so it should be look like this :
hash
:salt
right ?
update :
i got this error after i used (-m 110 --hex-salt)
Salt-length exception
It's possible your salt is longer than the maximum hashcat expects. How long is it? If your hex-encoded salt is indeed five characters long something is wrong.
(06-28-2018, 05:35 PM)undeath Wrote: [ -> ]It's possible your salt is longer than the maximum hashcat expects. How long is it? If your hex-encoded salt is indeed five characters long something is wrong.
this is the salt ($9d1ed$)
Either it's not hex-encoded data but rather ascii-data that happens to use hexadecimal alphabet or you are missing parts. Hex encoding uses two hexadecimal letters to encode one byte. Valid hex-data cannot have an odd number of characters.
(06-28-2018, 06:12 PM)undeath Wrote: [ -> ]Either it's not hex-encoded data but rather ascii-data that happens to use hexadecimal alphabet or you are missing parts. Hex encoding uses two hexadecimal letters to encode one byte. Valid hex-data cannot have an odd number of characters.
so in this case how can i crack it ?
don't use --hex-salt if your salt is not hex-encoded