Cracking with patator
Sometimes, it is possible we have the usernames but we want to try brute forcing the password for it. Patator is an amazing tool that allows us to brute force multiple types of logins and even ZIP passwords. In this recipe, we will see how to use patator to perform a brute force attack.
How to do it...
Following are the steps to use patator:
- To see all the options, we use the following command:
patator -h
The following screenshot shows the output of the preceding command:
- Let's try to brute force an FTP login:
patator ftp_login
The following screenshot shows the output of the preceding command:
- We can now set the
host
,user
file, andpassword
file and run the module:
patator ftp_login host=192.168.36.16 user=ftp password=ftp
The following screenshot shows the output of the preceding command:
- We can see that access has been granted and the module has stopped.