How To Install cowpatty on Kali Linux
Introduction
In this tutorial we learn how to install cowpatty on Kali Linux.
What is cowpatty
cowpatty is:
If you are auditing WPA-PSK or WPA2-PSK networks, you can use this tool to identify weak passphrases that were used to generate the PMK. Supply a libpcap capture file that includes the 4-way handshake, a dictionary file of passphrases to guess with, and the SSID for the network.
There are three methods to install cowpatty on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install cowpatty Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install cowpatty using apt-get by running the following command:
sudo apt-get -y install cowpattyInstall cowpatty Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install cowpatty using apt by running the following command:
sudo apt -y install cowpattyInstall cowpatty Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install cowpatty using aptitude by running the following command:
sudo aptitude -y install cowpattyHow To Uninstall cowpatty on Kali Linux
To uninstall only the cowpatty package we can use the following command:
sudo apt-get remove cowpattyUninstall cowpatty And Its Dependencies
To uninstall cowpatty and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove cowpattyRemove cowpatty Configurations and Data
To remove cowpatty configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge cowpattyRemove cowpatty configuration, data, and all of its dependencies
We can use the following command to remove cowpatty configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cowpattyDependencies
cowpatty have the following dependencies:
References
Summary
In this tutorial we learn how to install cowpatty package on Kali Linux using different package management tools: apt, apt-get and aptitude.