netdiscover-node
A simple nodejs wrapper around the netdiscover tool
Installation
First ensure netdiscover
is installed on your system.
Then install via npm
npm install netdiscover-node
Usage
One Time Scan
const netdiscover = netdiscover
Persistent Scan
const netdiscover = netdiscovernetdiscoverstartoptions
Options
Option | CLI command | Data Type | About |
---|---|---|---|
interface | -i |
string | Which device to scan |
range | -r |
string | A range of ip addresses to scan |
passive | -p |
boolean | Whether or not to scan in passive mode |
fastmode | -f |
boolean | Whether or not to scan in fast mode |
Read more about what these mean here