hashcat Forum
without chmod +x - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html)
+--- Forum: Very old oclHashcat Support (https://hashcat.net/forum/forum-21.html)
+--- Thread: without chmod +x (/thread-5.html)



without chmod +x - MK.v.4 - 05-02-2010

running oclHashCat64.bin without chmod +x returns errors:

user@desktop:~/oclHashcat-0.18$ sh ./oclHashcat64.bin -h
./oclHashcat64.bin: 1: Syntax error: word unexpected (expecting ")")
user@desktop:~/oclHashcat-0.18$ sh ./oclHashcat64.bin --help
./oclHashcat64.bin: 1: Syntax error: word unexpected (expecting ")")

Using Ubuntu 10.04 64 bit, with nvidia 9800gt.

note - running chmod +x on the file allows it to run perfectly..
ubuntu 10.04 64 bit can be added to the working os list.


RE: without chmod +x - atom - 05-02-2010

(05-02-2010, 12:20 AM)MK.v.4 Wrote: running oclHashCat64.bin without chmod +x returns errors:

user@desktop:~/oclHashcat-0.18$ sh ./oclHashcat64.bin -h
./oclHashcat64.bin: 1: Syntax error: word unexpected (expecting ")")
user@desktop:~/oclHashcat-0.18$ sh ./oclHashcat64.bin --help
./oclHashcat64.bin: 1: Syntax error: word unexpected (expecting ")")

Using Ubuntu 10.04 64 bit, with nvidia 9800gt.

note - running chmod +x on the file allows it to run perfectly..
ubuntu 10.04 64 bit can be added to the working os list.

Hello MK.v.4 Smile

thx for the report. i will add the system to the os list.

i am a bit confused since the *.bin files should be +x after unpack. here is what i did:

Code:
root@sf:~# unrar x oclHashcat-0.18.rar
root@sf:~# ls -l oclHashcat-0.18/
total 3608
drwx------ 2 root root    4096 May  1 13:41 docs
-rw------- 1 root root      66 Apr 24 12:10 example.cmd
-rw------- 1 root root 1210228 Apr 24 12:03 example.dict
-rw------- 1 root root  220796 Apr 24 11:59 example.hash
-rw------- 1 root root   60928 May  1 13:40 oclHashcat.exe
-rwx------ 1 root root   50892 May  1 13:40 oclHashcat32.bin
-rwx------ 1 root root   51848 May  1 13:40 oclHashcat64.bin
-rw------- 1 root root 1851680 Apr 30 14:49 oclHashcat_4_4098.kernel

How did you unpack the archive?

--
atom


RE: without chmod +x - MK.v.4 - 05-04-2010

i used file roller v 2.30.0 which is the default archive manager for ubuntu with a rar plugin installed i believe.

Code:
user@desktop:~/oclHashcat-0.18$ ls -l
total 3612
drwx------ 2 user user    4096 2010-05-01 13:41 docs
-rw-r--r-- 1 user user       4 2010-05-01 21:24 eula.accepted
-rw-r--r-- 1 user user      66 2010-04-24 12:10 example.cmd
-rw-r--r-- 1 user user 1210228 2010-04-24 12:03 example.dict
-rw-r--r-- 1 user user  220796 2010-04-24 11:59 example.hash
-rw-r--r-- 1 user user   50892 2010-05-01 13:40 oclHashcat32.bin
-rw-r--r-- 1 user user 1851680 2010-04-30 14:49 oclHashcat_4_4098.kernel
-rw-r--r-- 1 user user  227254 2010-04-30 14:49 oclHashcat_4_4318.kernel
-rwxr-xr-x 1 user user   51848 2010-05-01 13:40 oclHashcat64.bin
-rw-r--r-- 1 user user   60928 2010-05-01 13:40 oclHashcat.exe
user@desktop:~/oclHashcat-0.18$ ./oclHashcat64.bin
./oclHashcat64.bin: /usr/lib/nvidia-current/libOpenCL.so: no version information available (required by ./oclHashcat64.bin)
Usage: ./oclHashcat64.bin [options] hashlist wordlist_left|mask_left wordlist_right|mask_right

Try --help for more help.
user@desktop:~/oclHashcat-0.18$ sh ./oclHashcat64.bin
./oclHashcat64.bin: 1: Syntax error: word unexpected (expecting ")")
user@desktop:~/oclHashcat-0.18$ sh oclHashcat64.bin
oclHashcat64.bin: 1: Syntax error: word unexpected (expecting ")")
user@desktop:~/oclHashcat-0.18$

the execution of the app looks right, but that syntax error got me thinking there was something going on with the app.