hashcat Forum
combinator.bin command not found? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: combinator.bin command not found? (/thread-4799.html)

Pages: 1 2


combinator.bin command not found? - db60 - 11-09-2015

logged in as root, in the /usr/share/hashcat-utils directory.....but

root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat-utils# ./combinator.bin --help
bash: ./combinator.bin: No such file or directory   huh?? combinator.bin is most certainly in there.

root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat-utils# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin/:/usr/sbin/:/usr/share/maskprocessor/:/usr/share/hashcat-utils/

what is up with this?? I can't be this stupid...... :-)

db60


RE: combinator.bin command not found? - mastercracker - 11-09-2015

why not try ls to see if it's in there?


RE: combinator.bin command not found? - db60 - 11-09-2015

it is in there, so I don't get why bash is saying it isn't:

dan@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat-utils$ ls -la comb*
-rwxr-xr-x 1 dan dan 9512 Oct 17  2014 combinator3.bin
-rwxr-xr-x 1 dan dan 9512 Oct 17  2014 combinator.bin
-rwxr-xr-x 1 dan dan 9512 Oct 17  2014 combipow.bin

dan@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat-utils$ ./combinator.bin --help
bash: ./combinator.bin: No such file or directory


RE: combinator.bin command not found? - philsmd - 11-09-2015

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


RE: combinator.bin command not found? - db60 - 11-09-2015

(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


RE: combinator.bin command not found? - db60 - 11-12-2015

philsmd,
my last reply was a bit short-sighted, apologies....here's the listing of my hashcat-utils directory. these binaries were installed with my 64bit The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) Linux 2.0 distro:

dan@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat-utils$ ls -la
total 248
drwxr-xr-x 3 root root 4096 Nov 8 23:09 .
drwxr-xr-x 463 root root 16384 Nov 8 22:31 ..
-rwxr-xr-x 1 dan dan 5388 Oct 17 2014 cleanup-rules.bin
-rwxr-xr-x 1 dan dan 9512 Oct 17 2014 combinator3.bin
-rwxr-xr-x 1 dan dan 9512 Oct 17 2014 combinator.bin
-rwxr-xr-x 1 dan dan 9512 Oct 17 2014 combipow.bin
-rwxr-xr-x 1 dan dan 5384 Oct 17 2014 cutb.bin
-rwxr-xr-x 1 dan dan 5384 Oct 17 2014 expander.bin
-rwxr-xr-x 1 dan dan 5388 Oct 17 2014 gate.bin
-rwxr-xr-x 1 dan dan 5392 Oct 17 2014 generate-rules.bin
-rwxr-xr-x 1 dan dan 5408 Oct 17 2014 hcstatgen.bin
-rwxr-xr-x 1 dan dan 13608 Oct 17 2014 keyspace.bin
-rwxr-xr-x 1 dan dan 5388 Oct 17 2014 len.bin
-rwxr-xr-x 1 dan dan 5400 Oct 17 2014 mli2.bin
-rwxr-xr-x 1 dan dan 9520 Oct 17 2014 morph.bin
-rwxr-xr-x 1 dan dan 5380 Oct 17 2014 permute.bin
-rwxr-xr-x 1 dan dan 5384 Oct 17 2014 permute_exist.bin
-rwxr-xr-x 1 dan dan 5380 Oct 17 2014 prepare.bin
-rwxr-xr-x 1 dan dan 5388 Oct 17 2014 req-exclude.bin
-rwxr-xr-x 1 dan dan 5388 Oct 17 2014 req-include.bin
-rwxr-xr-x 1 dan dan 5400 Oct 17 2014 rli2.bin
-rwxr-xr-x 1 dan dan 9544 Oct 17 2014 rli.bin
-rwxr-xr-x 1 root root 871 Sep 20 2014 seprule.pl
-rwxr-xr-x 1 dan dan 5404 Oct 17 2014 splitlen.bin
drwxr-xr-x 2 root root 4096 Nov 8 14:34 src
-rwxr-xr-x 1 dan dan 5384 Oct 17 2014 strip-bsn.bin
-rwxr-xr-x 1 dan dan 5384 Oct 17 2014 strip-bsr.bin
-rwxr-xr-x 1 root root 1393 Sep 20 2014 tmesis.pl
-rwxr-xr-x 1 root root 1083 Sep 20 2014 topmorph.pl

can you see any reason why these bash would say the binaries don't exist?


RE: combinator.bin command not found? - Xanadrel - 11-12-2015

Did you even read phil's reply ? Like, seriously.


RE: combinator.bin command not found? - db60 - 11-12-2015

(11-12-2015, 07:19 PM)Xanadrel Wrote: Did you even read phil's reply ? Like, seriously.
Xanadrel,

of course I did, and I don't care for your insinuation.  I would assume that a 64bit distro of The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) would install the appropriate 64bit binaries for hashcat-utils.  there's no indication otherwise to me, but it should be obvious I'm a noob.


RE: combinator.bin command not found? - Xanadrel - 11-12-2015

(11-09-2015, 04:18 PM)philsmd Wrote: also check the "file" and "readelf" command



RE: combinator.bin command not found? - db60 - 11-12-2015

Xanadrel,

like I said, I'm a noob unfamiliar with this issue. but you're absolutely right I should've dug a little deeper, then I'd have learned the file command shows this info:

dan@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):/usr/share/hashcat-utils$ file combinator.bin
combinator.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, stripped

now I have to figure out those 32bit libraries....thanks for the kick in the pants, I needed it. :-)