hashcat Forum
sha1 salt question - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: General Help (https://hashcat.net/forum/forum-8.html)
+--- Thread: sha1 salt question (/thread-662.html)



sha1 salt question - forumhero - 11-23-2011

this goes back to the geocaching thread that's been closed but i still had a question left unanswered. atom said there were a few ways to crack the salted hash but when i tried it using the hashConfusedalt format it didn't work. here are the examples:

using sha1($pass.$salt) fails to return plain text

Code:
oclHashcat-lite64.exe -m 101 8882caa3b88a5a16fad6287e26d8a8f9454ad643:PEPPER "N51 03.?d?d?d W114 07.?d?d?d"
oclHashcat-lite v0.6 by atom starting...

Device #1: Cypress, 1024MB, 0Mhz, 20MCU
Device #2: Cypress, 1024MB, 0Mhz, 20MCU
Status.......: Exhausted
Hash.Type....: sha1($pass.$salt)

atom's way using the salt as part of the mask itself and it works
Code:
oclHashcat-lite64.exe -m 100 8882caa3b88a5a16fad6287e26d8a8f9454ad643 "PEPPERN51 03.?d?d?d W114 07.?d?d?d"
oclHashcat-lite v0.6 by atom starting...
Device #1: Cypress, 1024MB, 0Mhz, 20MCU
Device #2: Cypress, 1024MB, 0Mhz, 20MCU
Status.......: Cracked
Hash.Type....: SHA1

shouldn't it work in either case?


RE: sha1 salt question - atom - 11-23-2011

why should that work? sha1($pass.$salt) is not sha1($salt.$pass)


RE: sha1 salt question - forumhero - 11-28-2011

understood, please excuse the ignorance as i wasn't sure which was the proper algorithm to use given the known hash and salt.