Advertisement

Responsive Advertisement

Recent in Technology

Hashcat Cheat Sheet

🔐 Hashcat Cheat Sheet

🔢 Hash Modes

Hash TypeModeCommand
MD50-m 0
SHA1100-m 100
SHA2561400-m 1400
NTLM1000-m 1000
bcrypt3200-m 3200
WPA/WPA222000-m 22000
Office 20139600-m 9600
ZIP13600-m 13600

🧠 Basic Syntax

hashcat -m <mode> -a <attack-mode> <hashfile> <wordlist>

⚔️ Attack Modes

ModeTypeExample
0StraightWordlist attack
1CombinationTwo wordlists
3Brute-forceMasks e.g. ?a?a?a
6Hybrid Wordlist + MaskAppend mask to wordlist
7Hybrid Mask + WordlistPrepend mask to wordlist
hashcat -m 0 -a 0 hashes.txt rockyou.txt
hashcat -m 1000 -a 3 hashes.txt ?a?a?a?a?a

🔤 Mask Attack Charset

SymbolCharset
?lLowercase [a-z]
?uUppercase [A-Z]
?dDigits [0-9]
?sSpecial chars
?aAll of the above
?bAll 8-bit chars
hashcat -m 1000 -a 3 hashes.txt ?u?l?l?l?d?d

📜 Rule-Based Attack

hashcat -m 0 -a 0 -r rules/best64.rule hashes.txt rockyou.txt

📀 Output Management

--outfile=found.txt
--remove
--show

🚀 Performance Options

--force
--opencl-device-types 1,2
--backend-info
--benchmark

🚗 GPU Detection and Usage

# List all detected devices (NVIDIA, AMD, CPU)
hashcat -I

# Use specific device (e.g., only NVIDIA GPU)
hashcat -m 0 -a 0 hashes.txt rockyou.txt -d 1

# Use multiple devices
hashcat -m 0 -a 0 hashes.txt rockyou.txt -d 1,2

# Only allow GPU devices
hashcat --opencl-device-types 2

⏱️ Resume & Checkpoints

--session=myjob
--restore
--restore-disable

🔐 Sample Hash Formats

# NTLM
aad3b435b51404eeaad3b435b51404ee

# MD5
5d41402abc4b2a76b9719d911017c592

# WPA2 (hash mode 22000)
$HEX[...] (use hcxpcapngtool to convert .pcap)

Post a Comment

0 Comments