wapiti-getcookie command not found

In this troubleshooting guide we learn how to fix wapiti-getcookie command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

wapiti-getcookie: command not found

or when using sudo you get the following error message

sudo: wapiti-getcookie: command not found

Solutions to wapiti-getcookie: command not found

How To Fix wapiti-getcookie: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu wapiti-getcookie is provided by wapiti package.

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)

To fix this problem, we can install more using the command below.

sudo apt-get -y install wapiti

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install wapiti.

sudo apt -y install wapiti

Or if you have aptitude installed you can use the following command.

sudo aptitude install wapiti

Summary

In this tutorial we learn how to fix wapiti-getcookie command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.