How To Install spray on Kali Linux
Introduction
In this tutorial we learn how to install spray
on Kali Linux.
What is spray
spray is:
This package contains a Password Spraying tool for Active Directory Credentials. The script will password spray a target over a period of time. It requires password policy as input so accounts are not locked out.
The package also provides a series of hand crafted password files for multiple languages. These have been crafted from the most common active directory passwords in various languages and all fit in the complex (1 Upper, 1 lower, 1 digit) category.
There are three methods to install spray
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 spray Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install spray
using apt-get
by running the following command:
sudo apt-get -y install spray
Install spray Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install spray
using apt
by running the following command:
sudo apt -y install spray
Install spray 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 spray
using aptitude
by running the following command:
sudo aptitude -y install spray
How To Uninstall spray on Kali Linux
To uninstall only the spray
package we can use the following command:
sudo apt-get remove spray
Uninstall spray And Its Dependencies
To uninstall spray
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove spray
Remove spray Configurations and Data
To remove spray
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge spray
Remove spray configuration, data, and all of its dependencies
We can use the following command to remove spray
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge spray
Dependencies
spray have the following dependencies:
References
Summary
In this tutorial we learn how to install spray
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.