Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restructuring pot file
07-31-2012, 01:17 PM
Post: #1
Restructuring pot file
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.
Find all posts by this user
07-31-2012, 02:23 PM
Post: #2
RE: Restructuring pot file
Why, I dont see the advantage
Visit this user's website Find all posts by this user
07-31-2012, 04:03 PM (This post was last modified: 07-31-2012 04:05 PM by undeath.)
Post: #3
RE: Restructuring pot file
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>.*)$
Find all posts by this user
07-31-2012, 04:33 PM
Post: #4
RE: Restructuring pot file
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?
Visit this user's website Find all posts by this user
07-31-2012, 04:40 PM (This post was last modified: 07-31-2012 04:40 PM by undeath.)
Post: #5
RE: Restructuring pot file
yes, that would be a nicely working solution, too!
Find all posts by this user