Practice library / Cheat sheets and notes
Cheat sheet · Kali & Pentesting
Hash Types & Hashcat Modes
Identify a hash by its format, then pick the hashcat mode (-m) and the John format.
| Hash Type | Example | Hashcat -m | John Format |
|---|---|---|---|
| MD5 | 5f4dcc3b5aa765d61d8327deb882cf99 | 0 | raw-md5 |
| SHA-1 | 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 | 100 | raw-sha1 |
| SHA-256 | 5e884898da28047151d0e56f8… | 1400 | raw-sha256 |
| SHA-512 | b109f3bbbc244eb82441917… | 1700 | raw-sha512 |
| NTLM | 31d6cfe0d16ae931b73c59d7e0c089c0 | 1000 | nt |
| MD5crypt ($1$) | $1$salt$hash | 500 | md5crypt |
| SHA-256crypt ($5$) | $5$salt$hash | 7400 | sha256crypt |
| SHA-512crypt ($6$) | $6$salt$hash | 1800 | sha512crypt |
| bcrypt ($2a$) | $2a$12$… | 3200 | bcrypt |
| MySQL4 | *hash | 300 | mysql |