Module Name: port lookup by netblock
Module path: recon/netblocks-ports/censysio


Name: port lookup by netblock
Path: modules/recon/netblocks-ports/
Author: Tim Tomes (@LaNMaSteR53)

Queries to enumerate open ports for a netblock.

Name Current Value Required Description
SOURCE default yes source of input (see 'show info' for details)

Source Options:
default SELECT DISTINCT netblock FROM netblocks WHERE netblock IS NOT NULL
<string> string representing a single input
<path> path to a file containing a list of inputs
query <sql> database query returning one column of inputs

* To enumerate ports for hosts, use the following query as the SOURCE option.
  - SELECT DISTINCT ip_address || '/32' FROM hosts WHERE ip_address IS NOT NULL