octomagon / davegrohl

A Password Cracker for macOS
http://www.davegrohl.org
GNU General Public License v2.0
235 stars 39 forks source link

Wrong lenght of Entropy key #26

Closed dardo82 closed 5 years ago

dardo82 commented 5 years ago

dave -s gives the full output while only half is needed for example in HashCat format. See also here and here for further discussion.

octomagon commented 5 years ago

I've just added the -x or --hashcat=USERNAME to Dave 3.01. This option will output a Mac user's ShadowHashData specifically formatted for Hashcat. This only works for the Mac implementation of SALTED-SHA512-PBKDF2. The -s option will remain the same as it was never intended to be used for Hashcat.

Basic usage is:

MacBook-Pro:~/davegrohl$ sudo ./dave --hashcat=USERNAME > hash.txt
MacBook-Pro:~/davegrohl$ hashcat -m 7100 hash.txt wordlist.txt

I just pushed v3.01 to master.

dardo82 commented 5 years ago

Have you updated the README file but not the man page?

octomagon commented 5 years ago

That's right. I'll take care of the man page later today.

dardo82 commented 5 years ago

I’ve just tried it and it works fine, thanks!

octomagon commented 5 years ago

Thanks for checking! I'll close this once I get the man page updated.

octomagon commented 5 years ago

The man page has been updated. There's still a bit more cleanup to do, but I'll close this issue for now.