Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Mar 2010 00:53:45 +0300
From: Solar Designer <>
Subject: Re: generate passwords with wDDDwDDD template

On Mon, Mar 08, 2010 at 12:07:18AM +0300, Gogol Bordello wrote:
> I am novice to JtR and I am little bit in stuck with JtR rules. I would 
> like to generate a passwords list with wDDDwDDD template, where 'w' is a 
> [a-Z] and 'D' is a [0-9].

That's not what the rules are for.  The rules accept a wordlist (or
per-user info such as usernames) and "mangle" it.

What you ask for is currently best achieved by modifying the KnownForce
external mode sample in the default john.conf.  I've attached the
modified sample to this message.  I've also attached it in the form of a
patch against the original john.conf (from JtR 1.7.5) just to illustrate
what was changed.

You may invoke this external mode with:

john --external=KnownForce --stdout

Indeed, you'd specify password hash files instead of "--stdout", or
you'd specify an output file (in case you want to use the resulting
list with a program other than JtR, and that program somehow cannot
read from a pipe).  The list will occupy over 24 disk-GB or almost
23 GiB assuming Unix linefeeds.  You probably do not want to actually
save it to disk.

> I also wish to know how to generate the full 
> list of words where each word is 8 symbols in length and word contains 
> at least one digit or word.

You need to start by defining and explaining this fully.  The description
above is not clear enough.


View attachment "KnownForce-wDDDwDDD" of type "text/plain" (2126 bytes)

View attachment "KnownForce-wDDDwDDD.diff" of type "text/plain" (1548 bytes)

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.