Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 26 Mar 2012 08:50:13 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: [JtR patch] Fast cracker for Mozilla Firefox, Thunderbird
 and SeaMonkey master passwords.

On 03/26/2012 05:01 AM, Dhiru Kholia wrote:
> On Mon, Mar 26, 2012 at 8:16 AM, Dhiru Kholia <dhiru.kholia@...il.com> wrote:
>> On Mon, Mar 26, 2012 at 3:47 AM, magnum <john.magnum@...hmail.com> wrote:
>>> I tried profiling without OMP (this will likely show the reason for poor
>>> scaling), but it segfaults. Did you try non-OMP after adding OMP
>>> support? I won't look further unless you say it's works fine for you.
>>
>> Strange, where does it segfault? It is working (both OMP and non-OMP) for me.
> 
> I can re-produce the segfault now using -O2 flag. It disappears under
> -ggdb flag.
> 
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007fe99e5f5e25 in _IO_seekoff_unlocked (fp=0x1ed9b62,
> offset=8118, dir=<optimized out>, mode=<optimized out>) at
> ioseekoff.c:71
> 71	ioseekoff.c: No such file or directory.
> 	in ioseekoff.c
> (gdb) bt
> #0  0x00007fe99e5f5e25 in _IO_seekoff_unlocked (fp=0x1ed9b62,
> offset=8118, dir=<optimized out>, mode=<optimized out>) at
> ioseekoff.c:71
> #1  0x00007fe99e5f76ab in __GI_fseek (fp=0x1ed9b62, offset=<optimized
> out>, whence=<optimized out>) at fseek.c:41
> #2  0x0000000000463080 in CrackKeyData ()
> #3  0x0000000000462c73 in set_salt ()
> 
> Looking into it.

The KeyCrackData struct has char globalSalt[17] but you read 24 bytes
into it in line 122 of KeyDBCracker.c

magnum


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.