Hackbydoing Academy tool guide · Password attacks & hashing · free, no login
A password-cracking tool that guesses passwords against scrambled password codes (hashes) very fast, using your graphics card.
hashcat -m 0 -a 0 hash.txt wordlist.txt
Tries every word in wordlist.txt as the password for the MD5 hashes stored in hash.txt.
| --format=raw-md5 | This is a John the Ripper spelling that sometimes appears next to hashcat in the academy; in hashcat you pick the hash type with -m instead (MD5 is -m 0). |
| --increment | Used with length-based attacks: start at the shortest password length and grow one character at a time instead of jumping to the longest. |
| --potfile-path | The next piece is the path to the 'potfile', the notebook where hashcat saves passwords it has already cracked so it never redoes work. |
| --quiet | Hides the progress chatter and status screens, so only the important results print. |
| --show | Prints the passwords hashcat has already cracked for this hash file instead of cracking again. |
| --wordlist=/usr/share/wordlists/rockyou.txt | This equals-sign spelling belongs to John the Ripper in the academy; hashcat takes the wordlist as a plain last argument, with no flag in front of it. |
| -C | Not a hashcat switch. In the academy's JWT lesson this belongs to jwt_tool.py on the same line, where it means 'run a dictionary attack on the token'. |
| -a | The next piece is a number saying the attack style, for example 0 means 'try each word from a list, one by one'. |
| -b | Benchmark mode: it only measures how many guesses per second your machine can make for the chosen hash type, and cracks nothing. |
| -m | The next piece is a number saying which kind of hash you are cracking, for example 0 for MD5, 1000 for Windows NTLM, or 22000 for a Wi-Fi handshake. |
| -r | The next piece is the path to a rules file; rules twist each wordlist word into common variants (adding numbers, swapping letters) before trying it. |
Only run hashcat on systems you own or have explicit, written permission to test — at work that means a signed engagement, at home that means your own lab. Inside Hackbydoing Academy you practice on simulated networks and lab machines built for exactly this, where breaking things is the lesson and no one else's systems are involved. Learning how a tool works also teaches you what it looks like from the defender's chair: the logs it leaves, the traffic it makes, and the settings that shut it down.
Reading about hashcat is step one. In the Academy you run it yourself, step by step, in guided labs on simulated networks — 185 rooms covering attack and defense, from your first scan to full operations, with a defender's debrief at the end of every room. Founding membership is $9.99/mo for the first 500 members.
Join Hackbydoing Academy →Free from the Hackbydoing Academy — learn cybersecurity by doing: real tools, guided labs, attack and defense, on simulated networks. More free material: Tool Guides index · Free Downloads Library · Hackbydoing Academy · Print this page (Ctrl/Cmd+P) for a clean paper copy.