Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 14 Sep 2015 01:50:51 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: mask mode bug

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.

Everyone, PLEASE open Github issues for bugs if at all possible. I'm fed 
up with opening issues for others. I could spend that time *fixing* 
issues instead.

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.