> For the complete documentation index, see [llms.txt](https://paul-gleason.gitbook.io/sec-335-eth.-hacking-and-pen.-testing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paul-gleason.gitbook.io/sec-335-eth.-hacking-and-pen.-testing/tools-recon/hydra.md).

# Hydra

### Usage:

#### HTTP:

Template:

```bash
hydra -l <username> -P <wordlist> -s <port> -f <ip> http-get /<page>/
```

EX:

```bash
hydra -l frodo -P frodo.mangled.txt -s 80 -f 10.0.5.21 http-get /admin/
```

#### SSH:

Template:

```bash
hydra -l <username> -P <wordlist> <ip> -t <intensity> ssh
```

EX:

```bash
hydra -l frodo -P frodo.mangled.txt 10.0.5.21 -t 4 ssh
```

### Flags:

* -l    | login/username
* -P  | File for wordlist
* -s  | Port
* -f   | Exit after the first found login/password pair
* -t   | Run TASKS number of connects in parallel
