hashcat --helpDisplays the main help menu listing all valid parameters and modes.
The world’s fastest GPU password cracker: hundreds of hash types with dictionary, rule, mask and hybrid attack modes.
sudo apt install hashcathashcat --example-hashesDisplays a table of example hashes for every supported hash mode.
hashcat -m 0 -a 0 hashes.txt wordlist.txtPerforms a standard dictionary attack against MD5 hashes using a single wordlist.
hashcat -m 1000 -a 0 ntlm.txt wordlist.txtPerforms a standard dictionary attack against NTLM hashes typically found in Windows environments.
hashcat -m 1800 -a 0 shadow.txt rockyou.txtAttacks sha512crypt hashes often found in Linux /etc/shadow files.
hashcat -m 0 hashes.txt list1.txt list2.txtAttacks MD5 hashes using multiple wordlists loaded sequentially.
hashcat -m 0 -a 0 -r rules/best64.rule hashes.txt wordlist.txtApplies the popular 'best64' mutation rules to the wordlist candidates.
hashcat -m 0 -r rules/dive.rule hashes.txt wordlist.txtUses the extensive 'dive' rule set for deeper mutation coverage.
hashcat -m 0 -j k$ hashes.txt wordlist.txtApplies a single dynamic rule to append a dollar sign to every word.
hashcat -m 0 -r rule1.rule -r rule2.rule hashes.txt wordlist.txtStacks multiple rule files to apply complex mutations in sequence.
hashcat -m 0 -g 10000 hashes.txt wordlist.txtGenerates 10,000 random rules to apply to the dictionary.
hashcat -m 0 -a 3 hashes.txt ?a?a?a?aBrute forces MD5 hashes trying all combinations of 4 printable characters.
hashcat -m 0 -a 3 hashes.txt ?d?d?d?d?d?dBrute forces MD5 hashes looking specifically for 6-digit PIN codes.
hashcat -m 0 -a 3 hashes.txt ?u?l?l?l?d?d?d?dUses a structured mask for an Uppercase, 3 Lowercase, and 4 Digits pattern.
hashcat -m 0 -a 3 -i hashes.txt ?a?a?a?a?aEnables increment mode to try lengths 1 through 5 sequentially.
hashcat -m 0 -a 3 -i --increment-min=4 --increment-max=8 hashes.txt ?a?a?a?a?a?a?a?aBrute forces all printable characters restricting length between 4 and 8.
hashcat -m 0 -a 3 -1 ?l?d hashes.txt ?1?1?1?1Defines custom charset 1 as lowercase and digits, then uses it for a 4-char mask.
hashcat -m 0 -a 3 -1 ?l?u -2 ?d?s hashes.txt ?1?1?1?2?2?2Uses two separate custom charsets to define a specific password complexity pattern.
hashcat -m 0 -a 3 --custom-charset1=?l?d hashes.txt ?1?1?1?1?1Explicitly defines a custom charset using the long-form flag.
hashcat -m 0 -a 6 hashes.txt wordlist.txt ?d?d?d?dAppends a 4-digit mask to the end of every word in the wordlist.
hashcat -m 0 -a 7 hashes.txt ?d?d?d?d wordlist.txtPrepends a 4-digit mask to the beginning of every word in the wordlist.
hashcat -m 0 -a 6 -j S wordlist.txt ?d?dUses a rule to capitalize words before appending a 2-digit mask.
hashcat -m 0 -w 3 hashes.txt list.txtSets the workload profile to 'High' to prioritize cracking speed over desktop responsiveness.
hashcat -m 0 -w 4 hashes.txt list.txtSets workload profile to 'Nightmare' for maximum GPU utilization on dedicated rigs.
hashcat -m 0 -O hashes.txt list.txtEnables optimized kernels which limits password length but increases speed.
hashcat -m 0 -S hashes.txt list.txtEnables the slow candidate generator for specific low-performance scenarios.
hashcat -IDisplays detailed information about installed OpenCL/CUDA devices and drivers.
hashcat -d 1 -m 0 hashes.txt list.txtForces Hashcat to use only the device with ID 1.
hashcat -D 2 -m 0 hashes.txt list.txtForces the backend type to use GPU devices only.
hashcat -m 0 --gpu-temp-abort=90 hashes.txt list.txtAutomatically aborts the attack if the GPU temperature reaches 90 degrees Celsius.
hashcat -m 0 --gpu-temp-retain=80 hashes.txt list.txtAdjusts fan speeds dynamically to try and maintain a temperature of 80 degrees.
hashcat -m 0 -o cracked.txt hashes.txt list.txtWrites recovered passwords to a specific output file.
hashcat -m 0 --outfile-format=2 -o cracked.txt hashes.txt list.txtWrites output in format 'plain_password' only, omitting the hash.
hashcat -m 0 --outfile-format=3 -o cracked.txt hashes.txt list.txtWrites output in format 'hash:plain_password' including hex data.
hashcat -m 0 --show hashes.txtReads the potfile to display only the hashes that have already been cracked.
hashcat -m 0 --left hashes.txtReads the potfile to display only the hashes that have NOT yet been cracked.
hashcat -m 0 --potfile-disable hashes.txt list.txtPrevents Hashcat from writing recovered credentials to the potfile.
hashcat -m 0 --username hashes.txt list.txtIgnores the username field in 'user:hash' formatted input files.
hashcat -m 0 --separator=, hashes.csv list.txtSpecifies a comma as the separator for input files.
hashcat -m 0 --remove hashes.txt list.txtRemoves hashes from the input file immediately as they are cracked.
hashcat -m 2500 capture.hccapx list.txtAttacks WPA/WPA2 wireless keys using the legacy hccapx format.
hashcat -m 22000 capture.hc22000 list.txtAttacks WPA-PBKDF2-PMKID+EAPOL (modern WiFi) using the hc22000 format.
hashcat -m 5600 ntlmv2.txt list.txtAttacks NetNTLMv2 hashes captured via Responder or similar tools.
hashcat -m 13100 krb5tgs.txt list.txtAttacks Kerberos 5 TGS-REP etype 23 hashes (Roasting).
hashcat -m 18200 asrep.txt list.txtAttacks Kerberos 5 AS-REP etype 23 hashes.
hashcat -m 3200 bcrypt.txt list.txtAttacks Blowfish/bcrypt hashes ($2a$, $2y$, etc.).
hashcat -m 15700 eth_wallet.txt list.txtAttacks Ethereum wallet SCRYPT based password protection.
hashcat -m 11300 btc_wallet.txt list.txtAttacks Bitcoin/Litecoin wallet.dat files.
hashcat -m 12500 pdf.txt list.txtAttacks PDF 1.7 Level 3 password protection.
hashcat -m 13600 winzip.txt list.txtAttacks WinZip AES-256 encrypted archive headers.
hashcat -m 6211 truecrypt.txt list.txtAttacks TrueCrypt volumes using RIPEMD160 + AES boot mode.
hashcat -m 13400 keepass.txt list.txtAttacks KeePass 1 and KeePass 2 password manager database files.
hashcat -m 16800 pmkid.txt list.txtAttacks WPA-PMKID (PMKID-only) captures without full handshakes.
hashcat -m 0 --hex-salt hashes.txt list.txtAssumes the salt within the hash file is given in hexadecimal format.
hashcat -m 0 --hex-charset -1 414243 hashes.txt ?1?1?1Allows defining the custom charset using hexadecimal bytes.
hashcat -m 0 --keep-guessing hashes.txt list.txtContinues attacking a hash even after a collision is found (useful for collisions/salts).
hashcat -m 0 --loopback hashes.txt --potfile-path=my.potUses the passwords found in the potfile as the wordlist for a new attack.
hashcat -m 0 --markov-classic hashes.txtEnables the classic Markov-chain based candidate generator.
hashcat -m 0 --markov-disable hashes.txt ?a?a?a?aDisables the internal Markov statistics usually applied to masks.
hashcat -m 0 --self-test-disable hashes.txt list.txtDisables the startup self-test (risky, but useful for unstable/embedded devices).
hashcat --stdout -r rules/best64.rule wordlist.txtPrints the candidates generated by rules and wordlist to stdout without cracking.
hashcat --stdout -a 3 ?d?d?d?dGenerates a keyspace of candidates to stdout for piping into other tools.
hashcat -m 0 -a 3 --skip=100000 --limit=50000 hashes.txt ?a?a?a?aSkips the first 100k candidates and runs only the next 50k (distributed cracking).
hashcat -m 0 -s 1000 -l 2000 hashes.txt list.txtShorthand flags for skip and limit to control workload chunks.
hashcat -m 0 -a 3 --increment --increment-min=1 --increment-max=7 hashes.txt ?a?a?a?a?a?a?aAudits for passwords strictly shorter than 8 characters.
hashcat -m 0 -a 3 hashes.txt ?d?d?d?d?d?d?d?d?d?dAudits for 10-digit number usage (phone numbers/IDs).
hashcat -m 0 -a 0 wordlist.txt hashes.txt --showValidates which current dictionary words match the hash list.
hashcat -m 0 --outfile-check-timer=60 hashes.txt list.txtChecks the outfile every 60 seconds to see if it was modified externally.
hashcat -m 0 --encoding-from=utf16le --encoding-to=utf8 hashes.txt list.txtConverts input wordlist from UTF-16LE to UTF-8 internal representation.
hashcat -m 2500 --nonce-error-corrections=10 capture.hccapx list.txtIncreases WPA nonce error correction range for noisy captures.
hashcat -m 500 -O hashes.txt list.txtAttacks md5crypt (Unix) using optimized kernels.
hashcat -m 7400 sha256crypt.txt list.txtAttacks sha256crypt hashes (Round 5).
hashcat -m 100 hashes.txt list.txtAttacks standard SHA1 hashes.
hashcat -m 1400 hashes.txt list.txtAttacks standard SHA256 hashes.
hashcat -m 1700 hashes.txt list.txtAttacks standard SHA512 hashes.
hashcat -w 1 -m 0 hashes.txt list.txtSets workload to 'Low' to keep the computer usable during cracking.
hashcat -a 6 -m 0 hashes.txt list.txt -1 ?d?s ?1?1Hybrid attack appending 2 characters that are either digits or symbols.
hashcat -a 3 --increment-min 1 --increment-max 4 hashes.txt ?d?d?d?dBrute forces numeric PINs from length 1 up to 4.
hashcat -a 3 --keyspace ?l?l?l?lCalculates and displays the total number of combinations for a given mask.
hashcat --stdout -r rules/best64.rule list.txt > mutated_list.txtCreates a pre-computed wordlist by applying rules and saving the output.
hashcat --session=project1 --cleanup-rulesRemoves temporary rule files generated during a session.
hashcat --cpu-affinity=1,2 -m 0 hashes.txt list.txtLocks Hashcat processes to specific CPU cores.
A versatile password cracker (use the “jumbo” build) with automatic hash detection and *2john helpers for files, archives and keys.
Generates wordlists from character sets and patterns — every combination of a given length, or a precise mask.
Spiders a website and builds a custom wordlist from the words it finds — great for targeted password guesses.
An LLMNR, NBT-NS and mDNS poisoner that captures Windows authentication hashes on a local network, and a staging ground for NTLM relay attacks.
A C# toolset for raw Kerberos interaction and abuse on Windows: ticket requests, Kerberoasting, AS-REP roasting, pass-the-ticket and delegation attacks.
Discovers and fingerprints IPsec VPN servers using IKE, and can capture aggressive-mode PSK hashes for offline cracking.