hashcat Forum
Invalid argument - 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: Invalid argument (/thread-6433.html)



Invalid argument - itanon - 03-27-2017

I'm on Linux Deb distro....I've downloaded the latest hashcat version binary file, but once I try to run it issuing: 
./hascat64.bin -a 3 -m 2500 handshake.hccapx ?d?d?d?d?d?d?d?d?d?d?d
I get:" invalid argumet" 
What should be the possible problem?


RE: Invalid argument - royce - 03-27-2017

Works for me, using 3.40 release on Ubuntu:


Code:
$ wget 'https://hashcat.net/misc/example_hashes/hashcat.hccapx'
--2017-03-26 16:06:58--  https://hashcat.net/misc/example_hashes/hashcat.hccapx
Resolving hashcat.net (hashcat.net)... 149.154.152.149, 2a03:f80:ed15:149:154:152:149:1
Connecting to hashcat.net (hashcat.net)|149.154.152.149|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 393 [application/octet-stream]
Saving to: ‘hashcat.hccapx’

hashcat.hccapx                  100%[====================================================>]     393  --.-KB/s    in 0s      

2017-03-26 16:07:00 (80.0 MB/s) - ‘hashcat.hccapx’ saved [393/393]

$ ./hashcat64.bin -a 3 -m 2500 hashcat.hccapx ?d?d?d?d?d?d?d?d?d?d?d

[snip]

[s]tatus [p]ause [r]esume [b]ypass [c]heckpoint [q]uit =>

Session..........: hashcat
Status...........: Running
Hash.Type........: WPA/WPA2



RE: Invalid argument - itanon - 03-27-2017

(03-27-2017, 02:08 AM)royce Wrote: Works for me, using 3.40 release on Ubuntu:


Code:
$ wget 'https://hashcat.net/misc/example_hashes/hashcat.hccapx'
--2017-03-26 16:06:58--  https://hashcat.net/misc/example_hashes/hashcat.hccapx
Resolving hashcat.net (hashcat.net)... 149.154.152.149, 2a03:f80:ed15:149:154:152:149:1
Connecting to hashcat.net (hashcat.net)|149.154.152.149|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 393 [application/octet-stream]
Saving to: ‘hashcat.hccapx’

hashcat.hccapx                  100%[====================================================>]     393  --.-KB/s    in 0s      

2017-03-26 16:07:00 (80.0 MB/s) - ‘hashcat.hccapx’ saved [393/393]

$ ./hashcat64.bin -a 3 -m 2500 hashcat.hccapx ?d?d?d?d?d?d?d?d?d?d?d

[snip]

[s]tatus [p]ause [r]esume [b]ypass [c]heckpoint [q]uit =>

Session..........: hashcat
Status...........: Running
Hash.Type........: WPA/WPA2
I don't have proprietary gpu driver installed....Maybe this is the problem?
It's strange because on a previous installation, missing driver problems generated different error statement...


RE: Invalid argument - royce - 03-27-2017

Hmm - interesting. Can you post the full command line (but hiding any sensitive or non-public hashes?)


RE: Invalid argument - itanon - 03-28-2017

(03-27-2017, 04:24 PM)royce Wrote: Hmm - interesting. Can you post the full command line (but hiding any sensitive or non-public hashes?)
so this is the entire output:
Code:
./hashcat64.bin -a 3 -m 2500 -01.hccapx ?d?d?d?d?d?d?d?d?d?d
./hashcat64.bin: invalid option -- '0'
Invalid argument specified

plus I tried to test hashcat's benchmark right now, but all I get is:
Code:
./hashcat64.bin -b
hashcat (v3.40) starting in benchmark mode...

Mesa (Gallium) OpenCL platform detected!

It is known to cause errors which an unexperienced user could misinterpret as a bug in hashcat
You are STRONGLY encouraged to use the driver as listed in docs/readme.txt
You can use --opencl-platforms to manually deselect the platform and get rid of this error
You can use --force to override this but do not post error reports if you do so

Started: Tue Mar 28 23:55:17 2017
Stopped: Tue Mar 28 23:55:17 2017

I repeat no proprietary gpu driver installed yet
Edit: I'm on K a l i 4.6 kernel and it seems that hashcat works properly only with 4.9 kernel and OpenCL-icd nvidia driver(I got nvidia gpu)
do you confirm this?


RE: Invalid argument - rico - 03-29-2017

./hashcat64.bin -a 3 -m 2500 -01.hccapx ?d?d?d?d?d?d?d?d?d?d
./hashcat64.bin: invalid option -- '0'
Invalid argument specified


Remove the - before 01.hccapx


RE: Invalid argument - itanon - 03-29-2017

On the hashcat wiki I've red that fur running hashcat is necessary to have nvidia driver (version 367) and Intel open cl runtime installed.....Since my GPU only supports old 340 driver, it means that I'll not be able to run hashcat on my machine?


RE: Invalid argument - royce - 03-29-2017

@rico is right - you've got a stray hyphen (or if your filename actually begins with a dash, you'll need to rename it)

And I'm sorry to be the bearer of sad news, but your other question is right - only cards supported by the vendor are supported by hashcat.

But hey, that means it's upgrade time! Smile You can get a used GTX 970 on eBay for US$150 (or less) right now.


RE: Invalid argument - itanon - 03-29-2017

(03-29-2017, 02:33 PM)royce Wrote: @rico is right - you've got a stray hyphen (or if your filename actually begins with a dash, you'll need to rename it)

And I'm sorry to be the bearer of sad news, but your other question is right - only cards supported by the vendor are supported by hashcat.

But hey, that means it's upgrade time! Smile You can get a used GTX 970 on eBay for US$150 (or less) right now.
Thanks Royce you've been helpful and very kind, hope to see you again in some other thread.....So my hashcat experience ends here for the moment.
Thanks again!