Jump to content
Fi8sVrs

Netdiscover – Network Address Discovery Tool

Recommended Posts

  • Active Members
Posted (edited)

Netdiscover is a network address discovery tool that was developed mainly for those wireless networks without DHCP servers, though it also works on wired networks. It sends ARP requests and sniffs for replies.

 

Netdiscover-Network-Address-Discovery-To

 

Built on top of libnet and libpcap, it can passively detect on-line hosts, or search for them, by actively sending ARP requests, it 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

 

Requirements

  • libpcap
  • libnet > 1.1.2

 

Tested to work on Linux, Solaris MacOS X and OpenBSD, other *nix variants may work.

 

Usage

 

Screen Keys:

	- k/j (or up/down arrow keys) scroll up/down
	- q quit


Usage: ./netdiscover [-i device] [-r range | -p] [-s time] [-n node] [-c count] [-f] [-S]

  -i device
    The network device to sniff at and inject packets. If no device was
    specified, first available will be used.

  -r range
    Scan a given range instead of auto scan. Valid range values are:
    192.168.0.0/24, 192.168.0.0/16 or 192.168.0.0/8

  -p
    Enable passive mode do not send anything, only sniff

  -s time
    It will sleep given time in milliseconds between each arp request
    injection. (default 1)

  -c count
    Number of times to send each arp reques. Usefull for networks with
    packet loss, so it will scan given times for each host.

  -n node
    Last ip octet used for scanning as source host, you can change it
    if the default host is already used (from 2 to 253) (default 66)

  -S
    Enable sleep time supression betwen each request. I will sleep each 255
    scanned hosts instead of do it by each one, this mode was used on 0.3 beta4
    and older releases. Avoid this option on networks with packet lossing,
    or in wireless networks with low signal level. (also called hardcore mode)

  -f
    Enable fastmode scan, it will only scan for hosts .1, .100, .254 on each
    network, usefull when searching for addresses being used, after find one
    you can make a specific range scan to see online boxes.
    Scanned hosts can be easily modified at fast_ips[] array on main.c source.

If -p or -r options are not used, netdiscover will automatically scan for common
lan addresses. Those address lists can be modified at common_net[] on main.c

Build

 

$ sh update-oui-database.sh (optional)
$ ./configure
$ make
# make install

Authors:

*******************************************************************************
                          AUTHORS & CONTRIBUTORS
*******************************************************************************

If you have any suggestion or bugs, please email <jpenalbae@gmail.com>
Also if you want to contribute, feel free to send any patches.


Netdiscover
===========

Netdiscover has been written by Jaime Penalba Estebanez <jpenalbae@gmail.com>
Web page can be found at http://www.nixgeneration.com/~jaime/netdiscover/


Contributors
============

Netdiscover includes the following contributions:

 - Debian packages and manual page by "Nicolas Weyland <ufoalien@weyland.ch>"
 - First parsable output attempt by "Marcel van der Boom <marcel@hsdev.com>"
 - Parsable output patch by "Guillaume Pratte <guillaume@guillaumepratte.net>"
 - Known hosts list feature by "Janusz Uzycki <j.uzycki@elproma.com.pl>"
 - Fix for undefined docdir by "Janusz Uzycki <j.uzycki@elproma.com.pl>"

 

Download: netdiscover-master.zip

Source

Edited by Fi8sVrs
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...