hashcat Forum
Weird exception when cracking DES(unix) - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: Old oclHashcat Support (https://hashcat.net/forum/forum-38.html)
+--- Thread: Weird exception when cracking DES(unix) (/thread-4798.html)



Weird exception when cracking DES(unix) - Hookeo - 11-09-2015

I'm getting a weird line-length exception with this command:
Code:
cudaHashcat64 -m 1500 -a 3 --session session1 ?d?d?d?d?l?l -o file.txt --remove hashed_file.txt

It's throwing me the error with the ?d?d?d?d?l?l section, and I'm not sure why.


RE: Weird exception when cracking DES(unix) - royce - 11-09-2015

Does hashed_file.txt contain only hashes -- no usernames, etc.?
Does it work OK with other masks?


RE: Weird exception when cracking DES(unix) - mastercracker - 11-09-2015

Your command line is badly structured.  Try this:

Code:
cudaHashcat64 -m 1500 -a 3 --session session1 -o file.txt --remove hashed_file.txt ?d?d?d?d?l?l



RE: Weird exception when cracking DES(unix) - Hookeo - 11-09-2015

(11-09-2015, 03:26 AM)mastercracker Wrote: Your command line is badly structured.  Try this:

Code:
cudaHashcat64 -m 1500 -a 3 --session session1 -o file.txt --remove hashed_file.txt ?d?d?d?d?l?l

This worked.  How can you know the correct order for things in a command?

And another question while I am at it. It output to file.txt. I ran it and got 186 of the passwords I am cracking. If i do another command and output it there, will it overwrite what is in the text file, or just append it?


RE: Weird exception when cracking DES(unix) - royce - 11-09-2015

Whoops - I totally missed the command order in your original post.

Simply follow the broad usage guidance from --help:

Code:
Usage: cudaHashcat [options]... hash|hashfile|hccapfile [dictionary|mask|directory]...

In other words, the dictionary/mask/directory should always be last, and the hashes should always be next to last, and all other options should come before them.


RE: Weird exception when cracking DES(unix) - Hookeo - 11-09-2015

(11-09-2015, 04:33 AM)royce Wrote: Whoops - I totally missed the command order in your original post.

Simply follow the broad usage guidance from --help:

Code:
Usage: cudaHashcat [options]... hash|hashfile|hccapfile [dictionary|mask|directory]...

In other words, the dictionary/mask/directory should always be last, and the hashes should always be next to last, and all other options should come before them.

Thank you!  That actually helped explain quite a few questions I was having. I should've checked that.  I look at it initially when I didn't know most of the terms, and figured I could puzzle it together from examples.  So yeah, thank you very much!


RE: Weird exception when cracking DES(unix) - mastercracker - 11-09-2015

Quote:And another question while I am at it. It output to file.txt. I ran it and got 186 of the passwords I am cracking. If i do another command and output it there, will it overwrite what is in the text file, or just append it?
The new cracks will be appended after what you cracked before.