Forrest logo
back to the hashcat tool

hashcat:tldr:95c38

hashcat: Perform a brute-force attack (mode 3) with the default hashcat mask.
$ hashcat --hash-type ${hash_type_id} --attack-mode ${3} ${hash_value}
try on your machine

The command "hashcat --hash-type ${hash_type_id} --attack-mode ${3} ${hash_value}" is used to execute the hashcat password cracking tool in order to crack a specific hash value.

Here's a breakdown of the command:

  • "hashcat": This is the command to run the hashcat tool.
  • "--hash-type ${hash_type_id}": This option specifies the type of hash algorithm used in the given hash value. The value of ${hash_type_id} will determine the specific hash algorithm to be used. For example, value 0 represents MD5, 1000 represents NTLM, etc. This option helps hashcat to understand the format/algorithm of the hash value.
  • "--attack-mode ${3}": This option specifies the attack mode to be used by hashcat. The value of ${3} represents the attack mode. Different attack modes (e.g., straight, combination, etc.) are available in hashcat, and the value determines the mode to be used.
  • "${hash_value}": This is the actual hash value that you want to crack. It is provided as an input to hashcat for the cracking process.

To use this command, replace ${hash_type_id} with the desired hash algorithm ID, ${3} with the desired attack mode, and ${hash_value} with the actual hash value you want to crack.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the hashcat tool