Issues running hashcat
#1
Hi,

during a presentation I need to demonstrate how fast and easy passwordcracking is. Therefore I installed hashcat on my computer. But as soon as I want to run example0.sh I receive the following error. 

Code:
./hashcat example0.sh
hashcat (v3.10-428-g225c682) starting...

ERROR: (null): No such file or directory

Started: Wed Oct 19 09:41:39 2016
Stopped: Wed Oct 19 09:41:39 2016

Inserting full path names didn't change anything
Code:
./hashcat -a 3 /Users/[...]/[...]/[...]/hashcat/hash.txt ?l?l?l

But if I want to display the help file it's working.
Code:
./hashcat --help
hashcat, advanced password recovery
[...]

System: MacBook Pro 13 later 2013, MacOS Sierra 10.12

Do you have any suggestions how to resolve this issue?
#2
No clue about OSX. Since I do not have access to an apple computer I can't test the refactoring done with the last 400+ commits Smile

You may want to stick to the 3.10 stable version? https://github.com/hashcat/hashcat/tree/v3.10
#3
Thank you for replying. I cloned and built the older version but the error is still the same.

Code:
[...]:hashcat-3-2.10 [...]$ ./example0.sh


ERROR: (null): No such file or directory

[...]:hashcat-3-2.10 [...]$ ./hashcat --help
hashcat, advanced password recovery[...]

 I tried different locations on my computer. Do I have to do anything else besides building hashcat with the make command?
#4
Looks good to me. Maybe it's a Sierra thing? This was run on El Capitan 10.11.6 (iMac (21.5-inch, Mid 2011))

Quote:$ ./example0.sh
hashcat (v3.10-428-g225c682) starting...

OpenCL Platform #1: Apple
=========================
- Device #1: Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz, skipped
- Device #2: ATI Radeon HD 6770M, 128/512 MB allocatable, 6MCU

Hashes: 6494 digests; 6494 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates

Applicable Optimizers:
* Zero-Byte
* Precompute-Init
* Precompute-Merkle-Demgard
* Meet-In-The-Middle
* Early-Skip
* Not-Salted
* Not-Iterated
* Single-Salt
* Raw-Hash

Watchdog: Temperature abort trigger disabled
Watchdog: Temperature retain trigger disabled

- Device #2: Kernel m00000_a1.d22eeb01.kernel not found in cache! Building may take a while...
Generated dictionary stats for example.dict: 1080240 bytes, 129988 words, 136302297088 keyspace           

57b485946faaebbd704e385ab8ea2922:jade0310                 
9783f9381e5d25bc9cf20b61ed650d07:tema01111988             
42cceb8a0d3ca82b8fb6831f38e52a11:mega00000000             
1b2534daa6175562bd9d70239c2d2ecb:fera030487               
67a4b54f496bf53ba9eae57acac771e4:eden009                  
c1beff9569de8f2e06a7c2c6083e62e8:r100000000000            
e1e6495a05ea41771ea6d92f1056b99d:reli010990               
85be65ed2700bcc63815c0351e1db7b1:p20002110211             
7a7a8220266f71f54f85685969ce999f:davi0123456789           
a48dd0f09abaf64324be83ce86414b5f:ap2300000                
27b797965af03466041487f2a455fe52:mo0000                   
7becb9424f38abff581f6f2a82ff436aConfusedail00                   
98c627ca129e64dfff3bf08fbaab6c86:fire01man                
1459ccf0940e63051d5a875a88acfaaf:pigi00                   
3baa3048651a65d1260eb521ab7c3bc0:ek110                    
5be4a34c048a4d4af2462679b7886151:55bo02020202             
d2a92d0b635bdc8fd3df226b7084dc8c:368901man                
[s]tatus [p]ause [r]esume [b]ypass [c]heckpoint [q]uit => q

                                                          
Session.Name...: hashcat
Status.........: Aborted
Input.Left.....: Mask (?a?a?a?a) [4]
Input.Right....: File (example.dict)
Hash.Target....: File (example0.hash)
Hash.Type......: MD5
Time.Started...: Wed Oct 19 11:24:10 2016 (37 secs)
Time.Estimated.: Wed Oct 19 17:41:27 2016 (6 hours, 16 mins)
Speed.Dev.#2...:  6023.8 kH/s (7.57ms)
Recovered......: 17/6494 (0.26%) Digests, 0/1 (0.00%) Salts
Recovered/Time.: CUR:N/A,N/A,N/A AVG:27.57,1653.94,39694.65 (Min,Hour,Day)
Progress.......: 221921280/136302297088 (0.16%)
Rejected.......: 0/221921280 (0.00%)
Restore.Point..: 0/129988 (0.00%)

Started: Wed Oct 19 11:24:10 2016
Stopped: Wed Oct 19 11:24:58 2016
$
#5
Did you ever solve this issue? I'm having the same problem
#6
(10-22-2016, 05:16 AM)ee10 Wrote: Did you ever solve this issue? I'm having the same problem

A clean install of Mac OS 10.11.6 did not solve the issue. Will try 10.11.5 next.
#7
I solved the problem by adding the folder

/usr/local/bin
#8
(10-23-2016, 11:38 PM)ee10 Wrote: I solved the problem by adding the folder

/usr/local/bin

Hi,

Thanks for updating the thread. Your solution is also working for me running OS Sierra.