Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 28 Feb 2019 11:39:34 -0600
From: jfoug <jfoug.openwall@....net>
To: john-users@...ts.openwall.com
Subject: Re: prepending and appending salts in dynamic formats


On 2/28/2019 11:15 AM, Royce Williams wrote:
> [many other helpful things snipped]
>
> This is something that I hadn't absorbed - the key insight that will help
> me to move forward.
>
> Thanks very much!

You are welcome.  The 'normal' procedure for dynamic, is this:

0. john cracker logic will set passwords, then set the first salt

1. clear the data

2. append each part of the input, to build the proper input string

3. crypt_all (storing result in output 1)

4. john cracker logic will run cmp_all/cmp_one/cmp_exact to find 
anything cracked

5. If there are more salts, set the next salt, and goto step 1.

6. goto step 0


dynamic is much more complex that this, but the above steps are the 
'norm'.   In the above, the step 1 and step 2 are what are in the 
dynamic 'script' written.  The other steps are the infrastructure of 
john's cracker mode code.  So the very simple 'normal' logic for 
dynamic, is to clear the buffers, then to build the input string(s) 
using append functions, then call the proper crypt functions.

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.