Module Name: Shodan Geolocation Search
Module path: recon/locations-pushpins/shodan


LIMIT:
RADIUS:
SOURCE:


Name: Shodan Geolocation Search
Path: modules/recon/locations-pushpins/shodan.py
Author: Tim Tomes (@LaNMaSteR53)

Description:
Searches Shodan for media in the specified proximity to a location.

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

Source Options:
default SELECT DISTINCT latitude || ',' || longitude FROM locations WHERE latitude IS NOT NULL AND longitude 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

Comments:
* Shodan 'geo' searches can take a long time to complete. If receiving connection timeout errors, increase the global SOCKET_TIMEOUT option.