11-09-2015, 05:57 PM
(11-09-2015, 04:18 PM)philsmd Wrote: are you sure you run a binary that fits your operating system?
For instance, on a 64bit system you should run a 64bit binary (or have the required 32 bit libraries installed).
see http://stackoverflow.com/a/2750413
also check the "file" and "readelf" command
yeah, I'm pretty sure I'm running the correct binary:
dan@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat$ ls -la
total 4132
drwxr-xr-x 8 root root 4096 Nov 8 22:40 .
drwxr-xr-x 463 root root 16384 Nov 8 22:31 ..
drwx------ 5 dan dan 4096 Nov 8 22:10 charsets
drwx------ 2 dan dan 4096 Nov 8 22:10 docs
drwxr-xr-x 2 dan dan 4096 Aug 10 18:00 docs_old
-rw-r--r-- 1 dan dan 4 Oct 28 14:41 eula.accepted
drwx------ 2 dan dan 4096 Nov 8 22:10 examples
-rwxr-xr-x 1 dan dan 834848 Jan 6 2015 hashcat.bin
-rwxr-xr-x 1 dan dan 875904 Nov 8 22:20 hashcat-cli64.bin <-------
-rwxr-xr-x 1 dan dan 888096 Jan 6 2015 hashcat-cliAVX2.bin
-rwxr-xr-x 1 dan dan 798400 Jan 6 2015 hashcat-cliAVX.bin
-rwxr-xr-x 1 dan dan 778304 Jan 6 2015 hashcat-cliXOP.bin
lrwxrwxrwx 1 dan dan 17 Oct 28 14:24 hc -> hashcat-cli64.bin
drwx------ 2 dan dan 4096 Nov 8 22:10 rules
drwx------ 2 dan dan 4096 Nov 8 22:10 salts
in /usr/bin I changed hashcat to
#!/bin/bash
/usr/share/hashcat/hashcat-cli64.bin "$@"
then put it back with chmod a+x hashcat so it points to the 64bit app
I think this is correct, am I right?
db60