hashcat Forum
Restructuring pot file - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html)
+--- Forum: Feature Requests (https://hashcat.net/forum/forum-7.html)
+--- Thread: Restructuring pot file (/thread-1421.html)



Restructuring pot file - undeath - 07-31-2012

Inspired from this thread i'd like to ask for a different format for the pot file to be created.

My suggestion is using the format salt$hash:plain (looks a bit like jtr). This way it should be (in praxis) always possible to distinguish between hash/salt and plaintext.

The current format is obviously very limited in usability.


RE: Restructuring pot file - atom - 07-31-2012

Why, I dont see the advantage


RE: Restructuring pot file - undeath - 07-31-2012

With the current pot file you cannot tell apart salt from plain if the salt contains a colon. If you prepend the salt to the hash you can easily make a regex to find the plain. ^.*\$[0-9a-f]{32,}:(?P<plain>.*)$


RE: Restructuring pot file - atom - 07-31-2012

I dont like the idea of switching the position of hash and salt but I udnerstand the problem. What I can do is to encode the salt in hex, what you think?


RE: Restructuring pot file - undeath - 07-31-2012

yes, that would be a nicely working solution, too!