Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 10 Mar 2012 17:29:00 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: .include bug

Fixed. The problem was that "list" happened before reading john.conf, so
user formats was not loaded.

I moved things around a little, seems to work now. I can't understand
why it could previously work if running from CWD.

magnum


On 03/09/2012 07:05 PM, magnum wrote:
> I think I just stumbled over a bug with the .include directive. It's a
> little odd I never noticed before.
> 
> Current john.conf ends like this:
> 
> # dumb-force UTF-32, in an external file
> .include "$JOHN/dumb32.conf"
> 
> # Dynamic ($dynamic_n$) scripting code, in an external file
> # also shows/tests that .include <file> works the same as .include
> "$JOHN/file"
> .include <dynamic.conf>
> 
> 
> ...but it turns out that last comment is not true: If I run john from
> another directory than CWD (eg. ../run/john) I can use dumb32 but I
> can't use -sub=list. If I run it from CWD (eg. ./john) it works fine.
> 
> It seems this is a problem is released Jumbo as well as latest git. I'm
> not quite sure where to start looking.
> 
> magnum
> 
> 


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ