brutespray command not found

In this troubleshooting guide we learn how to fix brutespray command not found error message

Introduction

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

brutespray: command not found

or when using sudo you get the following error message

sudo: brutespray: command not found

Solutions to brutespray: command not found

How To Fix brutespray: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu brutespray is provided by brutespray package.

brutespray is:

This Python script takes nmap GNMAP/XML output and automatically brute-forces services with default credentials using Medusa. BruteSpray can even find non-standard ports by using the -sV inside Nmap.

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

sudo apt-get -y install brutespray

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

You can also use apt command to install brutespray.

sudo apt -y install brutespray

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

sudo aptitude install brutespray

Summary

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