Hashcat Cheatsheet
How to Install Hashcat
Hashcat installation:
Useful Commands for Hashcat
-a [attack-mode]: Specify the attack mode (0: Dictionary, 1: Combination, 3: Brute-force, etc.)
-m [hash-type]: Specify the hash type (e.g., 0: MD5, 1000: NTLM, etc.)
-o [file]: Specify the output file
--username: Enable ignoring of usernames in the input file
--increment: Enable mask increment mode
-w [workload-profile]: Specify the workload profile (1: Low, 2: Default, 3: High, 4: Nightmare)
--session [name]: Specify a session name
--restore [name]: Restore a session by name
--show: Show cracked passwords
--potfile-disable: Disable the potfile
Examples of Hashcat Commands
Crack a password hash using a dictionary attack:
Crack a password hash using a brute-force attack:
Enable mask increment mode for brute-force:
Specify the workload profile:
Save and restore session:
username@machine_name:~$ hashcat --restore=my_session
Show cracked passwords:
Disable the potfile: