hashcat Forum
hashcat v3 macOS - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: hashcat v3 macOS (/thread-5594.html)

Pages: 1 2


RE: hashcat v3 macOS - rico - 07-06-2016

I just built this on a mac from the latest src on https://github.com/hashcat/hashcat. It should match what's on the http://hashcat.net/beta link right now, i.e. hashcat-3.00+30[url=https://hashcat.net/beta/hashcat-3.00%2b30.7z][/url]

You need to run it from the hashcat dir you already have.


RE: hashcat v3 macOS - haMac - 07-06-2016

Hi rico,
thank you very much. I'll try it in a minute.
Could you please post what you've done to compile this? I just would prefer to compile the next version myself, rather than asking everytime for it. Thanks!


RE: hashcat v3 macOS - rico - 07-06-2016

I just downloaded hashcat-master.zip and ran the commands in BUILD.md (on a Mac running OS X El Capitan) . In fact, all you need are the commands themselves. I hope this is right - I've not actually done this before.

Code:
$ mkdir hashcat
$ cd hashcat
$ sh
sh-3.2$ git clone https://github.com/hashcat/hashcat.git
Cloning into 'hashcat'...
remote: Counting objects: 11216, done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 11216 (delta 21), reused 0 (delta 0), pack-reused 11179
Receiving objects: 100% (11216/11216), 13.83 MiB | 129.00 KiB/s, done.
Resolving deltas: 100% (9269/9269), done.
Checking connectivity... done.
Checking out files: 100% (581/581), done.
sh-3.2$ mkdir -p deps/OpenCL-Headers
sh-3.2$ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
Cloning into 'deps/OpenCL-Headers/CL'...
remote: Counting objects: 243, done.
remote: Total 243 (delta 0), reused 0 (delta 0), pack-reused 243
Receiving objects: 100% (243/243), 193.58 KiB | 169.00 KiB/s, done.
Resolving deltas: 100% (158/158), done.
Checking connectivity... done.
sh-3.2$ cd hashcat/
sh-3.2$ make
gcc -D_POSIX -DDARWIN -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2 -c -o obj/ext_OpenCL.NATIVE.o src/ext_OpenCL.c
gcc -D_POSIX -DDARWIN -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2 -c -o obj/shared.NATIVE.o src/shared.c
gcc -D_POSIX -DDARWIN -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2 -c -o obj/rp_kernel_on_cpu.NATIVE.o src/rp_kernel_on_cpu.c
src/ext_OpenCL.c:400:5: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'
     [-Wimplicit-function-declaration]
   snprintf (options_update, len, "%s -cl-opt-disable", options);
   ^
src/ext_OpenCL.c:400:5: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
1 warning generated.
gcc -D_POSIX -DDARWIN -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2    -o hashcat src/hashcat.c obj/ext_OpenCL.NATIVE.o obj/shared.NATIVE.o obj/rp_kernel_on_cpu.NATIVE.o -lpthread  -DCOMPTIME=1467800346 -DVERSION_TAG=\"v3.00-30-g450b779\" -DINSTALL_FOLDER=\"/usr/local/bin\" -DSHARED_FOLDER=\"/usr/local/share/hashcat\" -DDOCUMENT_FOLDER=\"/usr/local/share/doc/hashcat\"
src/hashcat.c:13813:9: warning: unused variable 'need_xnvctrl' [-Wunused-variable]
   int need_xnvctrl = 0;
       ^
src/hashcat.c:13811:9: warning: unused variable 'need_nvapi' [-Wunused-variable]
   int need_nvapi   = 0;
       ^
2 warnings generated.
sh-3.2$ exit
$ cd hashcat/
$ ls
BUILD.md    README.md    example.dict    example0.sh    example400.sh    example500.sh    hashcat.hcstat    masks        src
Makefile    charsets    example0.cmd    example400.cmd    example500.cmd    extra        hashcat.hctune    obj        tools
OpenCL        docs        example0.hash    example400.hash    example500.hash    hashcat        include        rules



RE: hashcat v3 macOS - haMac - 07-06-2016

Thank you so much! Now i have something to play with this afternoon. :-)

btw: your compiled version works fine. thanks again.


RE: hashcat v3 macOS - rico - 07-06-2016

OK, the earlier version was compiled outside the sh environment and isn't quite right - it doesn't output the version number for a start. So you should download this one instead.

Code:
$ ./hashcat --version
v3.00-30-g450b779



RE: hashcat v3 macOS - haMac - 07-06-2016

I've just followed your compiling routine. It produced a working version! Surprisingly i even understand what to do and why! :-)
Thanks mate!