> For the complete documentation index, see [llms.txt](https://0xss0rz.gitbook.io/0xss0rz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xss0rz.gitbook.io/0xss0rz/pentest/brute-force/hydra-basics.md).

# Hydra - Basics

|                                                        |                                                                                                                         |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| `hydra -L user.list -P password.list <service>://<ip>` | Uses Hydra in conjunction with a user list and password list to attempt to crack a password over the specified service. |
| `hydra -l username -P password.list <service>://<ip>`  | Uses Hydra in conjunction with a username and password list to attempt to crack a password over the specified service.  |
| `hydra -L user.list -p password <service>://<ip>`      | Uses Hydra in conjunction with a user list and password to attempt to crack a password over the specified service.      |

`-t`: number of thread

`-t 48` looks stable

{% hint style="info" %}
Tips: Bruteforce FTP instead SSH if possible, it is faster
{% endhint %}

## Credentials with a colon (`username:password`)

```
$ hydra -C <user_pass.list> <protocol>://<IP>
```

Example:

```
$ hydra -C user_pass.list ssh://10.129.42.197
```

## [Earn Free Crypto / BTC with Cointiply](https://cointiply.com/r/pkZxp)

[**Play Games Earn Cash Rewards**](https://cointiply.com/r/pkZxp)

<figure><img src="https://4199783661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFF3hT6DtJlHn9jAel9%2Fuploads%2FtT3srZzbUxV8iN6zjNrl%2Fimage.png?alt=media&amp;token=962e4759-e8b9-4e26-b998-6df524fdfaf8" alt=""><figcaption></figcaption></figure>
