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

Okay, let's do that. Regarding magnum's approach (background a `john -stdin
hashfile <<< ""` and track the output), I'm trying to parse the output
correctly.
I found the line in core/jumbo :

>     printf("Loaded %s (%s%s%s [%s])\n",
>         john_loaded_counts(),
>         database.format->params.label,
>         database.format->params.format_name[0] ? ", " : "",
>         database.format->params.format_name,
>         database.format->params.algorithm_name);
>
It produces something like Loaded 2 password hashes with 2 different salts
(md5crypt, crypt(3) $1$ [MD5 256/256 AVX2 8x3])
1) Can I rely on the fact that the default format is always written with
this sentence on standard output ?
2) If I can rely on that, I'll use a wildcard regexp "Loaded *
(THEWORDWEWANT[,|SPACE]*)"

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.