Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 16 Sep 2015 02:53:44 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: mask mode bug

On Mon, Sep 14, 2015 at 01:50:51AM +0200, magnum wrote:
> On 2015-09-14 00:53, Aleksey Cherepanov wrote:
> >Use of ?s after bracketed character class seems to fail. I think the
> >following commands should work the same, right?
> >
> >$ john --session=test --mask='?1?1' -1='?s[a-z]' --stdout | wc -l
> >[...]
> >3481p 0:00:00:00 100.00% (2015-09-14 01:49) 21756p/s zz
> >3481
> >
> >$ john --session=test --mask='?1?1' -1='[a-z]?s' --stdout | wc -l
> >[...]
> >676p 0:00:00:00 100.00% (2015-09-14 01:49) 3557p/s z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
> >676
> 
> Use -1=[a-z?s] or -1=a-z?s (braces will be infered at start & end).
> 
> But yes, the current parsing is a bug of some sorts. Thank you for
> reporting, but please open a Github issue for this or it might be forgotten.

I just filed an issue on github. I am glad to help you. Thanks!

-- 
Regards,
Aleksey Cherepanov

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.