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 updateAfter updating apt database, We can install powersploit using apt-get by running the following command:
sudo apt-get -y install powersploitInstall powersploit Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install powersploit using apt by running the following command:
sudo apt -y install powersploitInstall 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 updateAfter updating apt database, We can install powersploit using aptitude by running the following command:
sudo aptitude -y install powersploitHow To Uninstall powersploit on Kali Linux
To uninstall only the powersploit package we can use the following command:
sudo apt-get remove powersploitUninstall 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 powersploitRemove powersploit Configurations and Data
To remove powersploit configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge powersploitRemove 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 powersploitDependencies
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.