net.recon
This module periodically reads the system ARP table 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 cached hosts list. Default sorting by IP.
net.show ADDRESS1, ADDRESS2
Section titled “net.show ADDRESS1, ADDRESS2”Show information about specific addresses. Accepts IP or MAC.
net.show.meta ADDRESS1, ADDRESS2
Section titled “net.show.meta ADDRESS1, ADDRESS2”Show metadata about specific addresses. Includes mDNS, UPnP, open ports, etc.
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.showFilter by endpoints with the string Apple in their hostname or vendor fields:
set net.show.filter Applenet.showShow top 10 endpoints sorted by last activity timestamp:
set net.show.sort seen descset net.show.limit 10net.show