hashcat Forum
Parsing and counting salts in hashlists - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: Parsing and counting salts in hashlists (/thread-8651.html)



Parsing and counting salts in hashlists - azaran - 09-19-2019

Hey guys, 

I wanted to ask you, is there relatively easy way how to get (parse) salt from hashes? I want to do analysis of some hashlists and maybe grouping hashes by salts and such things. I know there are different types of salt and that some are really easy extract (SALT_TYPE_GENERIC) by splitting hash and salt using the separator (commonly ":"). But how about EMBEDDED and VIRTUAL salt types? Would I gennerally need exclusive parsers for each such hashmode? 

Any help or info is highly appretiated. Thanks.



PS.: I've checked the HC code but I didn't figure it out yet, so after some time trying to understand the code I'm rather asking here since it might be more productive and faster.


RE: Parsing and counting salts in hashlists - undeath - 09-20-2019

There is no generic way of doing it. Various formats have their own representation and encoding. See https://hashcat.net/wiki/doku.php?id=example_hashes for some examples.


RE: Parsing and counting salts in hashlists - azaran - 09-20-2019

Thanks for reply undeath.

I was afraid of that, but I've rather asked just case there would be some "hack" I do not see. So if I overestimate it a bit, I would need parsing for each salted hashtype.