Skip to main content

python-netdiscover is a simple wrapper for the netdiscover reconnaissance tool

Project description

The python-netdiscover is a simple wrapper for the netdiscover reconnaissance tool.

This library offers a simple way to create scans from a python script and analyse the results.


From the shell, uncompress python-netdiscover.tar.gz and then run make :

$ tar xvzf python-netdiscover.tar.gz
$ cd python-netdiscover
$ python install

or using Pip

$ pip install python-netdiscover


From python/ipython:

>>> from netdiscover import *
>>> disc = Discover()
>>> disc.scan(ip_range="")
[{'mac': b'73:8b:10:0e:bd:23', 'ip': b''}, {'mac': b'f4:3c:4a:73:47:07', 'ip': b''}]


This tool needs to be run as root. It is necessary to be presented on the system the netdiscover tool. The library will look for the netdiscovery binary in the following paths:

  • netdiscover
  • /usr/bin/netdiscover
  • /usr/sbin/netdiscover
  • /usr/local/bin/netdiscover
  • /sw/bin/netdiscover
  • /opt/local/bin/netdiscover

If netdiscovery is not present in any of the paths above, you can specifie path with the argument netdiscover_path on Discover class.

disc = Discover(netdiscover_path="path_of_netdiscover")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-netdiscover, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size python_netdiscover-0.2.0-py2.py3-none-any.whl (16.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size python-netdiscover-0.2.0.tar.gz (26.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page