Hashcat
To identify the type of hash, we could a tool such as
hashid
orhash-identifier
Or we can utilize hashcat to identify the hash type like below
Example
Hash
f806fc5a2a0d5ba2471600758452799c
-a 0 sets the attack mode to a dictionary attack
-m 0 sets the hash mode for cracking MD5 hashes; for other types, run hashcat -h for a list of supported hashes.
f806fc5a2a0d5ba2471600758452799c
this option could be a single hash like our example or a file that contains a hash or multiple hashes./usr/share/wordlists/rockyou.txt
the wordlist/dictionary file for our attackWe run hashcat with --show option to show the cracked value if the hash has been cracked:
Brute-Force attack
Brute force a 4 digit pin
-a 3 sets the attacking mode as a brute-force attack
?d?d?d?d the ?d tells hashcat to use a digit. In our case, ?d?d?d?d for four digits starting with 0000 and ending at 9999
--stdout print the result to the terminal
Example of 4 digit pin hash
Last updated
Was this helpful?