Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<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

Your e-mail address:

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