How To Install wapiti on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 485 words
Introduction
In this tutorial we learn how to install wapiti
on Ubuntu.
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 Ubuntu. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu
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 Ubuntu, we can use the command below:
sudo apt-get -y autoremove wapiti
Remove wapiti Configurations and Data
To remove wapiti
configuration and data from Ubuntu 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:
- 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 Ubuntu using different package management tools: apt, apt-get and aptitude.