How To Install netdiscover on Kali Linux
Introduction
In this tutorial we learn how to install netdiscover
on Kali Linux.
What is netdiscover
netdiscover is:
Netdiscover is an active/passive address reconnaissance tool, mainly developed for those wireless networks without dhcp server, when you are wardriving. It can be also used on hub/switched networks.
Built on top of libnet and libpcap, it can passively detect online hosts, or search for them, by actively sending ARP requests.
Netdiscover can also be used to inspect your network ARP traffic, or find network addresses using auto scan mode, which will scan for common local networks.
Netdiscover uses the OUI table to show the vendor of the each MAC address discovered and is very useful for security checks or in pentests.
There are three methods to install netdiscover
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 netdiscover Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install netdiscover
using apt-get
by running the following command:
sudo apt-get -y install netdiscover
Install netdiscover Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install netdiscover
using apt
by running the following command:
sudo apt -y install netdiscover
Install netdiscover 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 netdiscover
using aptitude
by running the following command:
sudo aptitude -y install netdiscover
How To Uninstall netdiscover on Kali Linux
To uninstall only the netdiscover
package we can use the following command:
sudo apt-get remove netdiscover
Uninstall netdiscover And Its Dependencies
To uninstall netdiscover
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove netdiscover
Remove netdiscover Configurations and Data
To remove netdiscover
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge netdiscover
Remove netdiscover configuration, data, and all of its dependencies
We can use the following command to remove netdiscover
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge netdiscover
Dependencies
netdiscover have the following dependencies:
References
Summary
In this tutorial we learn how to install netdiscover
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.