How To Install driftnet on Kali Linux
Introduction
In this tutorial we learn how to install driftnet on Kali Linux.
What is driftnet
driftnet is:
Inspired by EtherPEG, Driftnet is a program which listens to network traffic and picks out images from TCP streams it observes. It is interesting to run it on a host which sees a lot of web traffic.
(Obviously, this is an invasion of privacy of a fairly blatant sort. Also, if you are possessed of Victorian sensibilities, and share an unswitched network with others who are not, you should probably not use it.)
There are three methods to install driftnet 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 driftnet Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install driftnet using apt-get by running the following command:
sudo apt-get -y install driftnetInstall driftnet Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install driftnet using apt by running the following command:
sudo apt -y install driftnetInstall driftnet 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 driftnet using aptitude by running the following command:
sudo aptitude -y install driftnetHow To Uninstall driftnet on Kali Linux
To uninstall only the driftnet package we can use the following command:
sudo apt-get remove driftnetUninstall driftnet And Its Dependencies
To uninstall driftnet and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove driftnetRemove driftnet Configurations and Data
To remove driftnet configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge driftnetRemove driftnet configuration, data, and all of its dependencies
We can use the following command to remove driftnet configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge driftnetDependencies
driftnet have the following dependencies:
- libjs-jquery
- libjs-lightbox2
- libc6
- libgif7
- libglib2.0-0
- libgtk2.0-0
- libjpeg62-turbo
- libpcap0.8
- libpng16-16
- libwebsockets16
References
Summary
In this tutorial we learn how to install driftnet package on Kali Linux using different package management tools: apt, apt-get and aptitude.