Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 27 Mar 2016 20:03:30 -0400
From: Rich Rumble <richrumble@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: External Policy Filter

On Sun, Mar 27, 2016 at 7:35 PM, Rich Rumble <richrumble@...il.com> wrote:
> On Sun, Mar 27, 2016 at 7:00 PM, Rich Rumble <richrumble@...il.com> wrote:
>> On Sat, Mar 26, 2016 at 2:00 PM, jfoug <jfoug@...nwall.net> wrote:
>>> Why not some rules:
>>>
>>> [List.Rules:PolicyFilter]
>>> # handle all permutations with all 5 ?l?u?d?s?b
>>>>7/?l/?u/?d :
>>>>7/?l/?u/?s :
>>>>7/?l/?u/?b :
>>>>7/?l/?d/?s :
>>>>7/?l/?d/?b :
>>>>7/?l/?s/?b :
>>> # handle all permutations with 4 ?u?d?s?b
>>>>7/?u/?d/?s :
>>>>7/?u/?d/?b :
>>>>7/?u/?s/?b :
>>> # handle  ?d?s?b
>>>>7/?d/?s/?b :
>>> # I 'think' that is it, but I am doing this off the cuff, so I may have
>>> missed some.
>> That would work much better! I didn't think to use "mask" in conf like that!
> This is what I think I'm going with, the colon I don't think is needed:
> ./john.exe -w=rockyou.txt -rules=PolicyFilter -stdout |LC_ALL='C' sort
> -i | LC_ALL='C' uniq >policy.dic
>
> [List.Rules:PolicyFilter]
> #All 4 types
>>7/?l/?u/?d/?s
> #The remaining 3 types
>>7/?l/?u/?d
>>7/?l/?u/?s
>>7/?l/?d/?s
>>7/?u/?d/?s
>
Last correction from me, looks like ?s isn't mask's, it's john.conf
->rules instead, that means it's
?s    matches symbols "$%^&*()-_+=|\<>[]{}#@/~"
And we'd still need ?p    matches punctuation: ".,:;'?!`" and the
double quote character (and ?w too)

So I can do /?s/?p or define a new UserClass, I just did a userclass
since I've never made one before.
[UserClasses]
0 = [a-zA-Z0-9/.]
1 = [0-9a-fA-F]
2 = \x09
3 = [$%^&*()-_+=|\<>[]{}#@/~.,:;'?!`] #new userclass :)

[List.Rules:PolicyFilter]
>7/?l/?u/?d/?3 !?w
>7/?l/?u/?3 !?w
>7/?l/?d/?3 !?w
>7/?l/?u/?d !?w
>7/?u/?d/?3 !?w
(I have reasons for using !?w )

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.