Hackbydoing Academy cheat sheet ยท hydra ยท passwords ยท brute-force
| hydra -l <user> -P <list> ssh://<ip> | Brute-force one SSH account with a wordlist |
| hydra -L users.txt -P list.txt ssh://<ip> | Many usernames ร many passwords (spray carefully) |
| hydra -l admin -P list.txt http-post-form://โฆ | Web login forms โ powerful, fiddly, form-specific |
| -t 4 | Threads โ more is faster AND louder |
| -f | Stop at the first found password |
| Every guess is a log line | Hydra cannot whisper: auth logs fill with failures (see: tail + grep) |
| Defenses | MFA, lockouts, rate limits, fail2ban, key-only SSH, passwords outside dictionaries |
| Password spraying | One common password tried against MANY accounts โ beats lockouts; defeated by banning common passwords + MFA |
Free from the Hackbydoing Academy โ the game that teaches real cybersecurity, attack and defense, on simulated networks. Play free at hackbydoing.com ยท Print this page (Ctrl/Cmd+P) for a clean paper copy.