Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 23 Dec 2006 20:19:03 +0300
From: Solar Designer <>
Subject: Re: Need Help with JTR's rules

On Sat, Dec 23, 2006 at 03:35:25PM +0100, websiteaccess wrote:
>  I would like a word of 4 charaters (for example : "wolf") become
> "wwoollff"

There's no convenient way to do that, so we have to resort to hacks like
the following four rules:


for lengths up to 4 (or for the resulting candidate passwords of lengths
up to 8).

>  I have tested (and many others)  "x11d Mx21d Mx31d Mx41d"

This doesn't make sense.  The "x" command leaves only the extracted
portion (in your case, one character in position 1), dropping the rest.
Also, the "M" command only makes sense if ever followed by a "Q"; it is
not intended and does not work for any other purpose.  Finally,
character positions are numbered from 0, not 1.

Perhaps the rules syntax should be extended or re-worked in a future
version of John to make it possible to operate on parts of the word,
yet not drop the rest of the input word completely.

Alexander Peslyak <solar at>
GPG key ID: 5B341F15  fp: B3FB 63F4 D7A3 BCCC 6F6E  FC55 A2FC 027C 5B34 1F15 - bringing security into open computing environments

Was I helpful?  Please give your feedback here:

To unsubscribe, e-mail and reply
to the automated confirmation request that will be sent to you.

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.