net.recon
This module is responsible for periodically reading the system ARP table in order to detect new hosts on the network.
Commands
Section titled “Commands”net.recon on
Section titled “net.recon on”Start network hosts discovery.
net.recon off
Section titled “net.recon off”Stop network hosts discovery.
net.clear
Section titled “net.clear”Clear all endpoints collected by the hosts discovery module.
net.show
Section titled “net.show”Show cache hosts list (default sorting by ip).
net.show ADDRESS1, ADDRESS2
Section titled “net.show ADDRESS1, ADDRESS2”Show information about a specific list of addresses (by IP or MAC).
net.show.meta ADDRESS1, ADDRESS2
Section titled “net.show.meta ADDRESS1, ADDRESS2”Show metadata (mDNS, UPnP, open ports, etc) about a specific list of addresses (by IP or MAC).
Parameters
Section titled “Parameters”Parameter | Default | Description |
---|---|---|
net.show.filter | Defines a regular expression filter for net.show . | |
net.show.limit | 0 | If greater than zero, defines limit for net.show . |
net.show.meta | false | If true, the net.show command will show all metadata collected about each endpoint. |
net.show.sort | ip asc | Defines sorting field (ip , mac , seen , sent , rcvd ) and direction (asc or desc ) for net.show . |
Examples
Section titled “Examples”Sort by IP and filter for MAC addresses starting with B8
:
set net.show.sort ip ascset net.show.filter ^B8net.show
Filter by endpoints with the string Apple
in their hostname or vendor fields:
set net.show.filter Applenet.show
Show top 10 endpoints sorted by last activity timestamp:
set net.show.sort seen descset net.show.limit 10net.show