Skip to content

Hashcat

World's fastest password recovery tool

Description

Hashcat is the world's fastest and most advanced password recovery utility. It supports five unique modes of attack for over 300 highly-optimized hashing algorithms using GPU acceleration.

Installation

BASH
sudo apt install hashcat

# From source
git clone https://github.com/hashcat/hashcat.git
cd hashcat && make

Basic Usage

BASH
# Common hash types
hashcat -m 0 hash.txt wordlist.txt     # MD5
hashcat -m 100 hash.txt wordlist.txt   # SHA1
hashcat -m 1400 hash.txt wordlist.txt  # SHA256
hashcat -m 1000 hash.txt wordlist.txt  # NTLM
hashcat -m 3200 hash.txt wordlist.txt  # bcrypt

Advanced Usage

BASH
# Attack modes
hashcat -a 0 -m 0 hash.txt wordlist.txt          # Dictionary
hashcat -a 3 -m 0 hash.txt ?a?a?a?a?a?a           # Brute force
hashcat -a 6 -m 0 hash.txt wordlist.txt ?d?d       # Hybrid (word + digits)

# With rules
hashcat -m 0 hash.txt wordlist.txt -r rules/best64.rule

# Show cracked
hashcat --show hash.txt

# Benchmark
hashcat -b

# Specific device
hashcat -m 0 hash.txt wordlist.txt -d 1