How To Install wafw00f on Kali Linux
Introduction
In this tutorial we learn how to install wafw00f on Kali Linux.
What is wafw00f
wafw00f is:
This package identifies and fingerprints Web Application Firewall (WAF) products using the following logic:
- Sends a normal HTTP request and analyses the response; this identifies a number of WAF solutions.
- If that is not successful, it sends a number of (potentially malicious) HTTP requests and uses simple logic to deduce which WAF it is.
- If that is also not successful, it analyses the responses previously returned and uses another simple algorithm to guess if a WAF or security solution is actively responding to the attacks.
There are three methods to install wafw00f 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 wafw00f Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install wafw00f using apt-get by running the following command:
sudo apt-get -y install wafw00fInstall wafw00f Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install wafw00f using apt by running the following command:
sudo apt -y install wafw00fInstall wafw00f 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 wafw00f using aptitude by running the following command:
sudo aptitude -y install wafw00fHow To Uninstall wafw00f on Kali Linux
To uninstall only the wafw00f package we can use the following command:
sudo apt-get remove wafw00fUninstall wafw00f And Its Dependencies
To uninstall wafw00f and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove wafw00fRemove wafw00f Configurations and Data
To remove wafw00f configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge wafw00fRemove wafw00f configuration, data, and all of its dependencies
We can use the following command to remove wafw00f configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wafw00fDependencies
wafw00f have the following dependencies:
References
Summary
In this tutorial we learn how to install wafw00f package on Kali Linux using different package management tools: apt, apt-get and aptitude.