Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 17 Sep 2015 01:39:11 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: prince mode and rules

On 2015-09-17 01:34, Frank Dittrich wrote:
> On 09/17/2015 01:17 AM, Frank Dittrich wrote:
>> Yes, you do call rpp_init() and rules_init() twice in do_prince_crack,
>> apparently once in a loop.
>> I am sure that has to be avoided.
>
> You also test whether a rule should be applied or rejected once per
> candidate:
>
> $ grep -c "Rule #1:" testprince.log
> 3084
>
> With all that logging, it is no wonder it takes ages.
>
> You should process rules_reject() just once per rule, outside of the
> loop processing the candidates.

OK, but how do I do that when doing words x rules as opposed to rules x 
words? Maybe it's simple, I just don't see it right now.

magnum

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.