How To Install wapiti on Kali Linux

In this tutorial we learn how to install wapiti on Kali Linux. wapiti is web application vulnerability scanner

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 update

After updating apt database, We can install wapiti using apt-get by running the following command:

sudo apt-get -y install wapiti

Install wapiti Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wapiti using apt by running the following command:

sudo apt -y install wapiti

Install 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 update

After updating apt database, We can install wapiti using aptitude by running the following command:

sudo aptitude -y install wapiti

How To Uninstall wapiti on Kali Linux

To uninstall only the wapiti package we can use the following command:

sudo apt-get remove wapiti

Uninstall 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 wapiti

Remove wapiti Configurations and Data

To remove wapiti configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge wapiti

Remove 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 wapiti

Dependencies

wapiti have the following dependencies:

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.