๐Ÿ™ Hydra โ€” online password attacks

Hackbydoing Academy cheat sheet ยท hydra ยท passwords ยท brute-force

Usage

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 4Threads โ€” more is faster AND louder
-fStop at the first found password

The other side

Every guess is a log lineHydra cannot whisper: auth logs fill with failures (see: tail + grep)
DefensesMFA, lockouts, rate limits, fail2ban, key-only SSH, passwords outside dictionaries
Password sprayingOne 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.