How To Install wapiti on Kali Linux
Introduction
In this tutorial we learn how to install wapiti on Kali Linux.
What is wapiti
wapiti is:
Wapiti allows you to audit the security of your web applications. It performs “black-box” scans, i.e. it does not study the source code of the application but will scan the web pages of the deployed web applications, looking for scripts and forms where it can inject data. Once it gets this list, Wapiti acts like a fuzzer, injecting payloads to see if a script is vulnerable.
Wapiti can detect the following vulnerabilities:
- Database Injection (PHP/ASP/JSP SQL Injections and XPath Injections)
- Cross Site Scripting (XSS) reflected and permanent
- File disclosure detection (local and remote include, require, fopen, readfile…)
- Command Execution detection (eval(), system(), passtru()…)
- XXE (Xml eXternal Entity) injection
- CRLF Injection
- Search for potentially dangerous files on the server (thank to the Nikto db)
- Bypass of weak htaccess configurations
- Search for copies (backup) of scripts on the server
- Shellshock
- DirBuster like
- Server Side Request Forgery (through use of an external Wapiti website)
There are three methods to install wapiti 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 wapiti Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install wapiti using apt-get by running the following command:
sudo apt-get -y install wapitiInstall wapiti Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install wapiti using apt by running the following command:
sudo apt -y install wapitiInstall wapiti 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 wapiti using aptitude by running the following command:
sudo aptitude -y install wapitiHow To Uninstall wapiti on Kali Linux
To uninstall only the wapiti package we can use the following command:
sudo apt-get remove wapitiUninstall wapiti And Its Dependencies
To uninstall wapiti and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove wapitiRemove wapiti Configurations and Data
To remove wapiti configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge wapitiRemove wapiti configuration, data, and all of its dependencies
We can use the following command to remove wapiti configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wapitiDependencies
wapiti have the following dependencies:
- libjs-jquery
- python3-bs4
- python3-importlib-metadata
- python3-mako
- python3-markupsafe
- python3-requests
- python3-six
- python3-socks
- python3-tld
- python3-yaswfp
- python3
References
Summary
In this tutorial we learn how to install wapiti package on Kali Linux using different package management tools: apt, apt-get and aptitude.