Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Dec 2012 00:22:08 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: raw-md5-opencl hash type tag

On 12 Dec, 2012, at 0:03 , Solar Designer <solar@...nwall.com> wrote:
> Here are some tweets:
> 
> <hacktalkblog> W00t got GPU cracking working with #JtR on #OSX
> <@...ktalkblog> @mind_sec Yea. Only downside is that in the pot it marks itself as $MD5$ not $dynamic_0$ so it's fucking things up in my .pot files lol
> <@...ktalkblog> @mind_sec haha yea, gonna find where the dynamic type declaration is made in JtR for the opencl formats and patch it
> 
> It is in fact weird that raw-md5-opencl uses a different hash type tag.
> Perhaps we should make it use $dynamic_0$?  Or make the latter use $MD5$?

This is a bug. I had no idea. Although I regret we ever started using dynamic tags for non-dynamic formats - it should be the other way round. It happened when we had a 'thin' raw-md5 for a while.

The easiest fix is to switch to $dynamic_0$ in the OpenCL format. Though I'd rather switch to $MD5$ in the others. We could even make the formats understand both but produce any new lines with $MD5$... although such things tend to get messy. And the dynamic format would need to be fixed by Jim, whom I haven't heard from in quite a while now.

Regardless, we could include a script that converts a user's old .pot file after he upgraded, and remove any dupes while at it. Of course, renaming the old one unaltered to john.pot.bak.

magnum

Powered by blists - more mailing lists

Your e-mail address:

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