Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 8 Dec 2009 18:40:22 +0100
From: websiteaccess <websiteaccess@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: compiling john-1.7.3.1-all-2-mpi8 with
 macosx-x86-sse2

On Tue, 8 Dec 2009 11:53:51 -0500, Erik Winkler wrote:
> If you are using Snow Leopard, remember that the default build target 
> is x86-64, so any assembly code(.S files) written for x86-32 will not 
> compile without significant changes.  You need to add -m32 to the 
> build flags of your target to force the x86-32 build.  See below as 
> an example:
> 
> macosx-x86-sse2:
>         $(LN) x86-sse.h arch.h
>         $(MAKE) $(PROJ) \
>                 JOHN_OBJS="$(JOHN_OBJS) x86.o x86-sse.o sha1-mmx.o 
> md5-mmx.o" \
>                 ASFLAGS="$(ASFLAGS) -m32 -DUNDERSCORES -DBSD -DALIGN_LOG" \
>                 CFLAGS="$(CFLAGS) -m32" \
>                 LDFLAGS="$(LDFLAGS) -m32"
> 
> Erik

Thanks Erik

 I did

 John is now compiled.

iMac-de-xxx-xxx:run xxxxxx$ mpirun -np 4 ./john -test -format=raw-md5
Benchmarking: Raw MD5 [raw-md5]... DONE
Raw:	24830K c/s real, 24832K c/s virtual


iMac-de-xxx-xxx:run xxxxxx$ mpirun -np 4 ./john -format=raw-md5 
-i:alnum sophie.txt
Loaded 1 password hash (Raw MD5 [raw-md5])
Loaded 1 password hash (Raw MD5 [raw-md5])
Loaded 1 password hash (Raw MD5 [raw-md5])
Loaded 1 password hash (Raw MD5 [raw-md5])
thread: 3 guesses: 0  time: 0:00:00:18  c/s: 5691K  trying: sebfghoo - 
sebfgh17
thread: 2 guesses: 0  time: 0:00:00:18  c/s: 5765K  trying: adwbscp - 
adwbssa
thread: 1 guesses: 0  time: 0:00:00:18  c/s: 5623K  trying: khrru3 - 
khrlov
thread: 0 guesses: 0  time: 0:00:00:18  c/s: 5700K  trying: mmumapug - 
mmumei5e
s0phie           (´╗┐mpi)
Process 2 completed loop.
thread: 2 guesses: 1  time: 0:00:01:02  c/s: 5833K  trying: s0phey - 
s0phyi
^Cmpirun: killing job...


  -test show -> Raw: 24830K c/s real, 24832K c/s virtual

 I have tested with a md5, this time 4 cores are running (0,1,2,3).
 When the password is found, JTR continue to run ! I have to stop JTR 
myself :(

 W.A.

> 
> 
> On Dec 8, 2009, at 10:55 AM, websiteaccess wrote:
> 
>> Hi
>> 
>> I have downloaded john-1.7.3.1-all-2-mpi8 from 
>> ftp://ftp.openwall.com/pub/projects/john/contrib/mpi/2009-bindshell/
>> 
>> I did "make" then I try to complie it with "lake clean 
>> macosx-x86-sse2" (Mac OS X, x86 with SSE2)
>> 
>> I get errors :
>> 
>> 
>> mpicc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include 
>> -L/usr/local/lib -finline-functions DES_bs_b.c
>> mpicc -c -DUNDERSCORES -DBSD -DALIGN_LOG x86.S
>> x86.S:144:suffix or operands invalid for `push'
>> x86.S:145:32-bit absolute addressing is not supported for x86-64
>> 
> 
> 
> 

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.