Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 10 Sep 2015 17:22:49 +0300
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: JtR Keyboard external rule

Hi Luis,

On Thu, Sep 10, 2015 at 04:06:14PM +0200, Luis Rocha wrote:
> I would like to change the --external:keyboard mode with chars that are
> used in different keyboard sets. Is there any simple way to do it? or would
> you need to re-write this piece of code?
> 
> When I try to add a char that is more than 1 byte (Latin-1 Supplement
> onwards) under the keyboard layout definition I get an error e.g, Compiler
> error in ./john.conf at line 2378: Unexpected character

Of course, you can't include multi-byte chars in there.  However, you
can use single-byte chars initially and substitute them with their
multi-byte equivalents (or non-equivalents, if you use unrelated
placeholder chars initially) in filter() of the same external mode
(you'd need to add that filter() function of your own), or you can use
an external program (such as another instance of john) to perform the
substitution in a pipe.

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.