hashcat Forum
cracking salted SHA1 - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: cracking salted SHA1 (/thread-7615.html)

Pages: 1 2


cracking salted SHA1 - fhd - 06-28-2018

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.



RE: cracking salted SHA1 - undeath - 06-28-2018

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.


RE: cracking salted SHA1 - DanielG - 06-28-2018

Your hash should match the formatting used in the Wiki, see https://hashcat.net/wiki/doku.php?id=example_hashes for what a hash for a particular type looks like.


RE: cracking salted SHA1 - fhd - 06-28-2018

(06-28-2018, 04:08 PM)undeath Wrote: format is hashConfusedalt, 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 ?


RE: cracking salted SHA1 - fhd - 06-28-2018

update :

i got this error after i used (-m 110 --hex-salt)
Salt-length exception


RE: cracking salted SHA1 - undeath - 06-28-2018

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.


RE: cracking salted SHA1 - fhd - 06-28-2018

(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$)


RE: cracking salted SHA1 - undeath - 06-28-2018

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.


RE: cracking salted SHA1 - fhd - 06-28-2018

(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 ?


RE: cracking salted SHA1 - undeath - 06-28-2018

don't use --hex-salt if your salt is not hex-encoded