How To Install packit on Kali Linux
Introduction
In this tutorial we learn how to install packit on Kali Linux.
What is packit
packit is:
Packit (PACket toolKIT) is a network auditing tool. It uses libpcap and can make real packages (frames) that are able to travel in a network. Packit also allows one to add personalized payloads. Other good feature is the possibility to read dump files created by tcpdump.
Packit has an ability to customize, inject, monitor and manipulate IP traffic. By allowing you to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet header options, Packit can be useful for the following scenarios: - tests in firewalls; - tests in Intrusion Detection Systems (IDS); - tests in Intrusion Prevention Systems (IPS); - tests in proxies; - tests in port scanning detectors; - network traffic simulations; - security tests; and - general TCP/IP auditing and pentests.
Packit is also an excellent tool for learning TCP/IP. However, this program does not support IPv6.
There are three methods to install packit 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 packit Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install packit using apt-get by running the following command:
sudo apt-get -y install packitInstall packit Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install packit using apt by running the following command:
sudo apt -y install packitInstall packit 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 packit using aptitude by running the following command:
sudo aptitude -y install packitHow To Uninstall packit on Kali Linux
To uninstall only the packit package we can use the following command:
sudo apt-get remove packitUninstall packit And Its Dependencies
To uninstall packit and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove packitRemove packit Configurations and Data
To remove packit configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge packitRemove packit configuration, data, and all of its dependencies
We can use the following command to remove packit configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge packitDependencies
packit have the following dependencies:
References
Summary
In this tutorial we learn how to install packit package on Kali Linux using different package management tools: apt, apt-get and aptitude.