Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP22814C648BE312D9B0FDAC4FDD90@phx.gbl>
Date: Fri, 20 Jul 2012 00:26:08 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: [PATCH] New --list=[sections|parameters=SECTION|list-data=SECTION]

On 07/19/2012 09:48 PM, Frank Dittrich wrote:
> The bash completion script also needed a few adjustments to get
> this working.

There was a minor problem with bash completion when  using upper case
letters in section names and subsection names for
--list=parameters:SECTION and --list=list-data:SECTION
The attached patch needs to be applied on top of the other one which
introduced --list=sections, --list=parameters:SECTION, ...

Now this works:

$ ./john --list=parameters:Markov:DE[tab]
becomes
$ ./john --list=parameters:Markov:default

$ ./john --list=parameters:Ma[tab]
becomes
$ ./john --list=parameters:markov:default
(if there is only this one section which matches "ma").

$ ./john --list=list-data:List.Ex[tab]
becomes
$ ./john --list=list-data:list.external

$ ./john --list=list-data:List.External:POL[tab]
becomes
./john --list=list-data:List.External:policy


Frank

View attachment "0001-Bash-completion-convert-upper-case-section-names-to-.patch" of type "text/x-patch" (1059 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.