Module Name: Shodan IP Enumerator
Module path: recon/hosts-ports/shodan_ip


LIMIT:
SOURCE:


Name: Shodan IP Enumerator
Path: modules/recon/hosts-ports/shodan_ip.py
Author: Tim Tomes (@LaNMaSteR53) and Matt Pluckett (@t3lc0)

Description:
Harvests port information from the Shodan API by using the 'ip' search operator. Updates the 'ports' table with the results.

Options:
Name Current Value Required Description
LIMIT 1 yes limit number of api requests per input source (0 = unlimited)
SOURCE default yes source of input (see 'show info' for details)

Source Options:
default SELECT DISTINCT ip_address FROM hosts WHERE ip_address 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