Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 15 Aug 2013 23:34:21 +0400
From: Victor <vbis@...reton.com>
To: john-users@...ts.openwall.com
Subject: Re: Help a newbie to crack a password

H
​ey everyone.
As I said in my previous message, i was successful to compile john by
myself. However this time I can't and I don't know why.

So at first i wanted to have it run on multiple cores and put the max
lenght up to 15 chr. I got this error.

<<
ASFLAGS="-c   -m64 -DUNDERSCORES -DBSD -DALIGN_LOG" \
CFLAGS="-c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations" \
LDFLAGS="-s -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto -lm -lz
 -m64"
mpicc -DHAVE_MPI -c -Wall -O2 -fomit-frame-pointer
-Wdeclaration-after-statement -I/usr/local/include     -m64
-Wno-deprecated-declarations -funroll-loops john-mpi.c
make[1]: mpicc: No such file or directory
make[1]: *** [john-mpi.o] Error 1
make: *** [macosx-x86-64] Error 2
​ >>

I googled it and understood that I need to instal OpenMPI because it is not
on Lion.

So i will do it but I tryed to compile John without mpi and with default
char lenght. Can't compile either. Got this:

​<< gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
unicode.c  >>​

Theese for every .c file

​<< mozilla_fmt.c:282:2: warning: #warning Note: Mozilla format disabled,
un-comment HAVE_NSS in Makefile if you have NSS installed.
[...]
rawSHA1_ng_fmt.c:553:3: warning: #warning not using optimized sse4.1
compare because -msse4 was not specified
[...]
LC_ALL=C sed -n 's/^\(struct fmt_main [^ ]*\) =.*/extern \1;/p'
*_fmt_plug.c > fmt_externs.h
LC_ALL=C sed -n 's/^struct fmt_main \([^ ]*\)
=.*/john_register_one(\&\1);/p' *_fmt_plug.c > fmt_registers.h >>​

Some of theese

<<
ld: warning: directory not found for option '-L/usr/local/ssl/lib'
ld: warning: option -s is obsolete and being ignored
rm -f ../run/unshadow
ln -s john ../run/unshadow
rm -f ../run/unafs
ln -s john ../run/unafs
rm -f ../run/unique
ln -s john ../run/unique
rm -f ../run/undrop
ln -s john ../run/undrop
rm -f ../run/ssh2john
ln -s john ../run/ssh2john
rm -f ../run/pdf2john
ln -s john ../run/pdf2john
rm -f ../run/rar2john
ln -s john ../run/rar2john
rm -f ../run/zip2john
ln -s john ../run/zip2john
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
genmkvpwd.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
-D_JOHN_MISC_NO_LOG misc.c -o miscnl.o
gcc genmkvpwd.o mkvlib.o memory.o miscnl.o -s -L/usr/local/lib
-L/usr/local/ssl/lib -lssl -lcrypto -lm -lz    -m64 -o ../run/genmkvpwd
ld: warning: directory not found for option '-L/usr/local/ssl/lib'
ld: warning: option -s is obsolete and being ignored
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
mkvcalcproba.c
gcc mkvcalcproba.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto
-lm -lz    -m64 -o ../run/mkvcalcproba
ld: warning: directory not found for option '-L/usr/local/ssl/lib'
ld: warning: option -s is obsolete and being ignored
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
calc_stat.c
gcc calc_stat.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto -lm
-lz    -m64 -o ../run/calc_stat
ld: warning: directory not found for option '-L/usr/local/ssl/lib'
ld: warning: option -s is obsolete and being ignored
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
tgtsnarf.c
gcc tgtsnarf.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto -lm
-lz    -m64 -o ../run/tgtsnarf
ld: warning: directory not found for option '-L/usr/local/ssl/lib'
ld: warning: option -s is obsolete and being ignored
rm -f ../run/racf2john
ln -s john ../run/racf2john
make[1]: Nothing to be done for `../run/mozilla2john'.
rm -f ../run/hccap2john
ln -s john ../run/hccap2john
rm -f ../run/pwsafe2john
ln -s john ../run/pwsafe2john
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement
-I/usr/local/include     -m64 -Wno-deprecated-declarations -funroll-loops
raw2dyna.c
gcc raw2dyna.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto -lm
-lz    -m64 -o ../run/raw2dyna
ld: warning: directory not found for option '-L/usr/local/ssl/lib'
ld: warning: option -s is obsolete and being ignored
rm -f ../run/keepass2john
ln -s john ../run/keepass2john
rm -f ../run/keychain2john
ln -s john ../run/keychain2john
[ -f ../run/john.local.conf ] || touch ../run/john.local.conf >>​
​

Theese are the last lines.
This is for 1.7.9 jumbo 7, but i have the same problem with both that are
on GitHub
​

So, few questions:
- How do I know if I Have NSS installed?
- ​
​
​What is -msse4?
- Why is "option -s" obsolete?

Thank you.


Victor


2013/8/15 Dhiru Kholia <dhiru.kholia@...il.com>

> On 08/14/13 at 04:43pm, Solar Designer wrote:
> > Rich, Victor -
> >
> > On Wed, Aug 14, 2013 at 06:59:57AM -0400, Rich Rumble wrote:
> > > You're cerainly going to need jumbo for this...  here are some
> > > compiled already
> > > http://openwall.info/wiki/john/custom-builds#Compiled-for-Mac-OS-X
> >
> > As far as I'm aware, we don't have a version of jumbo recent enough
> > (to include 7-Zip support) pre-compiled.
>
> https://github.com/kholia/JohnTheRipper should have recent OS X
> binaries.
>
> --
> Dhiru
>

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.