Table of Contents

Dictionary Attack

Description

The dictionary attack, or “straight mode,” is a very simple attack mode. It is also known as a “Wordlist attack”.

All that is needed is to read line by line from a textfile (aka “dictionary” or “wordlist”) and try each line as a password candidate.

$ hashcat -m 0 -a 0 hash.txt rockyou.txt

Useful things to know

$ hashcat -m 0 -a 0 hash.txt rockyou.txt -r rules/best66.rule

If a wordlist alone is not finding anything

A wordlist only ever tries exactly what is written in it. These attacks take the same wordlist further:

Alternative support

There are techniques floating around that exploit the ] function in oclHashcat to enable it to do a Dictionary Attack. Note that this was developed in the early days of the old oclHashcat-old when there was no oclHashcat. Nowadays there is no more need for it.

Outdated. That advice dates from when the GPU tools were separate programs. Current hashcat reads wordlists directly. Use -a 0 for a dictionary attack.