How To Install powersploit on Kali Linux
Introduction
In this tutorial we learn how to install powersploit
on Kali Linux.
What is powersploit
powersploit is:
PowerSploit is a series of Microsoft PowerShell scripts that can be used in post-exploitation scenarios during authorized penetration tests.
There are three methods to install powersploit
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 powersploit Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install powersploit
using apt-get
by running the following command:
sudo apt-get -y install powersploit
Install powersploit Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install powersploit
using apt
by running the following command:
sudo apt -y install powersploit
Install powersploit 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 powersploit
using aptitude
by running the following command:
sudo aptitude -y install powersploit
How To Uninstall powersploit on Kali Linux
To uninstall only the powersploit
package we can use the following command:
sudo apt-get remove powersploit
Uninstall powersploit And Its Dependencies
To uninstall powersploit
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove powersploit
Remove powersploit Configurations and Data
To remove powersploit
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge powersploit
Remove powersploit configuration, data, and all of its dependencies
We can use the following command to remove powersploit
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge powersploit
Dependencies
powersploit have the following dependencies:
References
Summary
In this tutorial we learn how to install powersploit
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.