How to Install and Uninstall brutespray Ubuntu 22.04

Updated: September 2, 2022

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. In this tutorial, I will show you ways to install brutespray Ubuntu 22.04.

Software Requirement

  • OS: brutespray needs Ubuntu 22.04 to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install brutespray on Ubuntu 22.04

Install brutespray Ubuntu 22.04

brutespray is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install brutespray using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get brutespray on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install brutespray Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get -y install brutespray

Install brutespray using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt -y install aptitude

After that, you can now install brutespray, just following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install brutespray Ubuntu by executing this command in the terminal.

sudo aptitude install brutespray

Uninstall brutespray on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a brutespray, can be easily uninstalled by anyone.

You can uninstall brutespray Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove brutespray

If you want to uninstall brutespray and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge brutespray

Ending

In this guide, I showed you ways to install brutespray on Ubuntu 22.04 and some ways to uninstall brutespray too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.