Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 8 Sep 2014 16:50:20 -0500
From: Xt Xt <xt@...eslum.org>
To: john-users@...ts.openwall.com
Subject: Re: Desiring a List.External customized to my needs

Thank you! That works perfectly. I wasn't aware of this mask mode. This
makes it very simple for me to generate password schemes and patterns that
match the password policy providing the target password dump files.

Regards!


On Sun, Sep 7, 2014 at 1:01 AM, Solar Designer <solar@...nwall.com> wrote:

> On Sat, Sep 06, 2014 at 07:20:56AM -0500, Xt Xt wrote:
> > 1) The first character is an upper-case letter or number.
> > 2) The following characters, until maxlength - 2 to maxlength, will be
> > lowercase letters
> > 3) Characters in position of maxlength-3 to maxlength will be numbers or
> > 'special' characters like !, $, @, #, *, etc; the generator will try
> first
> > with rules #1 and #2 and maxlength being the special characters or
> number,
> > then it will try with maxlength-1 to maxlength (the last 2 characters)
> > being special or number, to maxlength-2 to maxlength.
> >
> > Is this difficult to write? I do program in C. Some guidance or an
> example
> > of something like this would help me greatly.
>
> In terms of external modes, it'd be easiest for you to start with the
> [List.External:KnownForce] example in the default john.conf, and
> customize its init() function (and only it) in four(?) different ways
> (according to the different possible lengths of the trailing special
> characters portion).  You could then proceed to turn those into just one
> external mode, but I think this is not necessary.
>
> Also, please note that recent bleeding-jumbo supports "mask mode", where
> you can define patterns like this on the command line.  You'd need to
> invoke it four(?) times, for different possible lengths of the trailing
> special characters portion, or even more if the total length should also
> be changing.  For example:
>
> $ ./john --mask='[A-Z0-9]?l?l?l?l?s' --stdout | head
> Press 'q' or Ctrl-C to abort, almost any other key for status
> Aaaaa
> Aaaaa!
> Aaaaa"
> Aaaaa#
> Aaaaa$
> Aaaaa%
> Aaaaa&
> Aaaaa'
> Aaaaa(
> Aaaaa)
> $ ./john --mask='[A-Z0-9]?l?l?l?l?s?s' --stdout > /dev/null
> Press 'q' or Ctrl-C to abort, almost any other key for status
> 9981553p 0:00:00:02 0.06% (ETA: 10:58:18) 4869Kp/s Aanon^)
> 15115504p 0:00:00:03 0.08% (ETA: 10:57:44) 4955Kp/s Aaunw%<
> 20242297p 0:00:00:04 0.11% (ETA: 10:57:29) 4998Kp/s Abbmx}|
> 30496063p 0:00:00:06 0.17% (ETA: 10:57:13) 5040Kp/s Abplb\#
> 51015152p 0:00:00:10 0.28% (ETA: 10:57:00) 5076Kp/s Acrht`@
> 61992213p 0:00:00:12 0.35% (ETA: 10:56:16) 5068Kp/s Adgfl^{
> Session aborted
>
> Alexander
>

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.