Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E47FCBF.3070403@bredband.net>
Date: Sun, 14 Aug 2011 18:50:07 +0200
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: User-defined character class

On 2011-08-12 12:08, Solar Designer wrote:
>> Fwiw it won't work as intended with all words anyway. The %N will hit
>> even if the hexdigits are spread with other characters inbetween. I
>> guess I just picked a bad example.
>
> You never explained what effect you wanted to achieve with this rule.
> Maybe someone else will be able to suggest how to achieve it.

The example rule used a user-defined class for hex digits, and was 
supposed to find a string with at least 4 [consecutive] of them and 
prepend them with 0x and \x. For some reason I thought %N was "N 
consecutive instances of" but it's not.

Maybe a couple more character class commands could be useful, that does 
what I thought %N did: "reject the word unless it contains at least N 
consecutive instances of X" (or "...of class C"). I think that would be 
useful even though that example rule was not very exciting.

magnum

Powered by blists - more mailing lists

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