How To Install packetsender on Kali Linux
Introduction
In this tutorial we learn how to install packetsender
on Kali Linux.
What is packetsender
packetsender is:
Packet Sender is a utility that sends and receives TCP, UDP and SSL (encrypted TCP) packets on the ports of your choosing. It supports IPv4 and IPv6 and provides a GUI for final users. However, is also possible use Packet Sender in text mode via command line.
Some features:
- Can act as client/server to send and receive network traffic.
- A payload can be created in ASCII or hex.
- Command line mode is available for automation and scripting.
- Packet Sender cloud is a disposable resource to be used to publicly display and distribute packets (via an URL) for collaboration, tutorials, end users, etc. Packet Sender may import public packet sets with public URL.
Some uses:
- Control network-based devices in ways beyond their original apps.
- Test automation (using command line tool and/or hotkeys).
- Test network APIs (using the built-in TCP, UDP, SSL clients).
- Malware analysis (using the built-in UDP, TCP, SSL servers).
- Troubleshoot secure connections (using SSL).
- Test network connectivity/firewalls (by having 2 Packet Senders talk to each other).
- Stress-test a device (using intense network generator tool).
- Tech support (by sending customers a portable Packet Sender with pre-defined settings and packets).
- Share/Save/Collaborate using the Packet Sender Cloud service.
Packet Sender is useful for network security, network teaching, pentesters and to test firewall systems.
There are three methods to install packetsender
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 packetsender Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install packetsender
using apt-get
by running the following command:
sudo apt-get -y install packetsender
Install packetsender Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install packetsender
using apt
by running the following command:
sudo apt -y install packetsender
Install packetsender 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 packetsender
using aptitude
by running the following command:
sudo aptitude -y install packetsender
How To Uninstall packetsender on Kali Linux
To uninstall only the packetsender
package we can use the following command:
sudo apt-get remove packetsender
Uninstall packetsender And Its Dependencies
To uninstall packetsender
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove packetsender
Remove packetsender Configurations and Data
To remove packetsender
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge packetsender
Remove packetsender configuration, data, and all of its dependencies
We can use the following command to remove packetsender
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge packetsender
Dependencies
packetsender have the following dependencies:
References
Summary
In this tutorial we learn how to install packetsender
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.