Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ=techfBbv0aXGWXiX+70hS3-wckTb5r16nZMPern7kSKZ2jA@mail.gmail.com>
Date: Mon, 28 Jan 2013 17:24:30 -0800
From: Jeremiah Grossman <jeremiah.grossman@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: Password Cracking a DMG...

On Mon, Jan 28, 2013 at 4:58 PM, Solar Designer <solar@...nwall.com> wrote:

> Hi Jeremiah,
>
> On Mon, Jan 28, 2013 at 04:05:18PM -0800, Jeremiah Grossman wrote:
> > When running dmg2john on the DMG the binary segfaults "Segmentation
> fault:
> > 11". This behavior was exhibited not only on my original DMG, but any
> newly
> > created DMGs of 11GB or greater with no data written. So, it appears to
> me
> > with no knowledge of the codebase, this is some kind of filesize issue.
> >
> > From what I gather the conversations on Twitter, @gat3way @DhiruKholia
> > @solardiz maybe have isolated the problem. I'm waiting a patch to be
> issued
> > so I can try again.
>
> Yes, we think we have isolated this problem, and found a few other bugs
> in dmg2john in the process.  Here's the start of the john-dev thread:
>
> http://www.openwall.com/lists/john-dev/2013/01/28/17
>
> > There we some reports of an all zero hash issue on the DMGs, but that
> might
> > have something to do with an on-the-fly patch attempted by @jmgosney.
> Don't
> > know if that's helpful or not.
>
> Maybe, or it may as well be a separate problem.
>
> Can you try the attached patch?
>
> And, what version of JtR are you using?  Latest jumbo release, current
> unstable-jumbo from git, or current bleeding-jumbo from git?  (I've been
> looking at the latter.)
>
> Thanks,
>
> Alexander
>

Since none of the downloads listed here included dmg2john...
http://www.openwall.com/john/

@jmgosney recommended I use this, "jumbo-3 [magnum]", which did
include dmg2john.c.
https://github.com/magnumripper/JohnTheRipper

Once compiled with "macosx-x86-64" I applied your patch with "patch -N -i
dmg2john-1.diff"

>$ make dmg2john

gcc -Wall dmg2john.c -lm -o ../run/dmg2john
Undefined symbols for architecture x86_64:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [dmg2john] Error 1

Not exactly sure if I did something wrong, or a bug in the patch.

Regards,

Jeremiah-

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.