Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 22 Jul 2015 07:49:58 -0400
From: Mathieu Laprise <mathlaprise@...il.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: Re: Default attack format

Thanks for your help. So Shinnok, which way do you want me to use for this
task ?
On Wednesday, July 15, 2015, Aleksey Cherepanov <lyosha@...nwall.com> wrote:
> On Wed, Jul 15, 2015 at 07:22:43PM +0300, Aleksey Cherepanov wrote:
>> On Wed, Jul 15, 2015 at 10:48:41AM -0400, jfoug@....net wrote:
>> > ---- Aleksey Cherepanov <lyosha@...nwall.com> wrote:
>> > > I think --show=types could do the job: the first format in the first
>> > > line with 1+ formats listed is the default one. But it is in jumbo
>> > > only.
>> >
>> > That really gives you no information.  It is all in the valid() return
(with a prepare).  Only knowing the format names does not allow you to know
if a line is valid within that format.   It is all within the actual logic
OF the format itself.   Since there is no API into john exposing the format
array, there really is no way to know ATT without allowing john to run on
the file.
>>
>> --show=types uses a loop similar to loader's loop, i.e. it calls
>> prepare() and valid(). There are only a few differences: it does not
>> stop with 1 format, also it enforces dynamic_allow_rawhash_fixup after
>> the first line (I think dynamics reset it when there is no bare hash
>> on the first line). Of course, loader might be changed since
>> --show=types implementation so more differences might be introduced.
>>
>> I guess it is not easy to distinguish when dynamic_allow_rawhash_fixup
>> affected --show=types.
>>
>> Nevertheless in simple cases, it works as I said:
>
> --show=types approach would be easy to implement in Johnny because
> Johnny calls --show=types opening a file. On the other hand, core
> would not be supported. So --show=types is not the best solution.
>
> Thanks!
>
> --
> Regards,
> Aleksey Cherepanov
>

Content of type "text/html" skipped

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.