Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <loom.20140323T171504-450@post.gmane.org>
Date: Sun, 23 Mar 2014 16:32:12 +0000 (UTC)
From: -.-PhanTom-.- <phantom@...uribox.net>
To: john-users@...ts.openwall.com
Subject: Re: New tutorial (how to build in Win64)

jfoug <jfoug@...> writes:

> 
> I have added a tutorial to the wiki, on how to install a Cygwin64
> environment to any Win64 system, which is capable of building current JtR.
> The new target win64-cygwin-x86-64 has also been added to the most recent
> jumbo-bleeding (available from a git pull), and contained within the wiki,
> are proper instructions on pulling that.
> 
> http://openwall.info/wiki/john/tutorials/win64-howto-build
> 
> There has also been some updates to the x86-64.S file, to eliminate some
> failures on Win64 builds, due to ABI differences.  This is also in
> jumbo-bleeding on git.
> 
> Enjoy,  Jim.
> 
> 


Hi Jim

I haven't tocuhed JTR is many years, but got bored and wanted to play with
it again.
I can't remember much about compiling jtr as it has been +6 years since I
last tried.
I don't use *nix, so I installed cygwin (64) and tried to follow your guide
at: http://openwall.info/wiki/john/tutorials/win64-howto-build


However, the "make -j4 win64-cygwin-x86-64" caused the compile to fail. (see
below)
I then tried a "make generic" and that compiled without errors, however if I
try to run john.exe in a windows command prompt, I get an errors message
about "cygcrypto-1.0.0.dll" is missing.... where do i get that?
Also, if I try to run john.exe in a cygwin terminal window, nothing happens.

Compile error:
Failing after this point just means some helper tools did not build:
make ../run/SIPdump ../run/vncpcap2john \
    CFLAGS="-c -Wall -Wdeclaration-after-statement -O2 -fomit-frame-pointer
-I/usr/local/include `pkg-config 2>/dev/null --cflags nss` `pkg-config
2>/dev/null --exists nss && echo -DHAVE_NSS` `find 2>&1 /usr/include
/usr/local/include -name "gmp.h" | grep -q "gmp.h" && echo -DHAVE_GMP` `find
2>&1 /usr/include/ /usr/local/include/ -name "krb5.h" | grep -q "krb5.h" &&
echo -DHAVE_KRB5`     -D__CYGWIN64__ -D__CYGWIN32__
-mpreferred-stack-boundary=4" \
    CPP=gcc CC=gcc LD=gcc CXX=g++
make[1]: Entering directory '/home/Administrator/Jtr-bleeding/src'
gcc -c -Wall -Wdeclaration-after-statement -O2 -fomit-frame-pointer
-I/usr/local/include   -DHAVE_GMP      -D__CYGWIN64__ -D__CYGWIN32__
-mpreferred-stack-boundary=4 -funroll-loops SIPdump.c -o SIPdump.o
gcc -Wall vncpcap2john.c -lpcap -o ../run/vncpcap2john
vncpcap2john.c:40:30: fatal error: netinet/if_ether.h: No such file or directory
 #include <netinet/if_ether.h>
                              ^
compilation terminated.
Makefile:2313: recipe for target '../run/vncpcap2john' failed
make[1]: *** [../run/vncpcap2john] Error 1
make[1]: *** Waiting for unfinished jobs....
SIPdump.c:26:18: fatal error: pcap.h: No such file or directory
 #include <pcap.h>
                  ^
compilation terminated.
Makefile:2368: recipe for target 'SIPdump.o' failed
make[1]: *** [SIPdump.o] Error 1
make[1]: Leaving directory '/home/Administrator/Jtr-bleeding/src'
Makefile:1731: recipe for target 'win64-cygwin-x86-64' failed
make: *** [win64-cygwin-x86-64] Error 2


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.