turbot/shodan

steampipe plugin install shodansteampipe plugin install shodan

Shodan

Shodan provides host, DNS and exploit information from scanning the Internet.

Installation

To download and install the latest shodan plugin:

steampipe plugin install shodan

Credentials

Shodan requires an API token for all requests, but offers a free tier. Sign up on the shodan website to get your free token. It looks like ZGloRBAl2Tvur3tBTu84NkZIf3i5Cc5U.

Connection Configuration

Connection configurations are defined using HCL in one or more Steampipe config files. Steampipe will load ALL configuration files from ~/.steampipe/config that have a .spc extension. A config file may contain multiple connections.

Installing the latest shodan plugin will create a default connection named shodan in the ~/.steampipe/config/shodan.spc file. You must edit this connection to include your API token:

connection "shodan" {
plugin = "shodan"
api_key = "ZGloRBAl2Tvur3tBTu84NkZIf3i5Cc5U"
}