advanced password recovery and also used for bad things
Installation
homebrew
1. install hashcat via brew
brew install hashcat2. in this path are docs
/usr/local/Cellar/hashcat/3.40/share/doc/hashcat3. more hashcat wiki
https://hashcat.net/wiki/
manual
- go to https://hashcat.net/hashcat/ to download binary
Example Use
Click here to expand...
1. get a md5 hash of string marcus and save it to a file
echo -n “marcus” | md5 > example.hashecho -n - appends ⏎ to the end of marcus, without it the hash result will be different2. execute the hashcat
hashcat -a 3 example.hash ‘?l?l?l?l?l?l’
- a - attack-mode. 3 meaning brute force
- example.hash - input file of hashes
- ‘?l?l?l?l?l?l’ - mask. this example is a character-set of 6 lowercase letters
example.hash contents
49c167d7cd66dc64a474c261860ba50f 49c167d7cd66dc64a474c261860ba50f 066e7118a17e9218c0ed60891a6c6260 49c167d7cd66dc64a474c261860ba50f 3f34cc1a190de4abb685afabf56f758a 49c167d7cd66dc64a474c261860ba50f 49c167d7cd66dc64a474c261860ba50f 6f33e764b910cd663ba9a03a6d5666f8 110d46fcd978c24f306cd7fa23464d73 a4757d7419ff3b48e92e90596f0e7548
hashcat -m 1800 -a 3 hashes.txt -o cracked.txt