Real-Time Monitoring and Notifications using Shodan

by Shodan
GNU/Linux ◆ xterm-256color ◆ bash 24477 views

A quick guide on setting up network alerts using the Shodan command-line interface. To install the CLI run:

sudo pip install shodan

And then initialize the CLI using your API key:

shodan init APIKEY

Create a network alert to monitor your network range (ex. 198.20.0.0/16):

shodan alert create "My Production Network" 198.20.0.0/16

Get a list of notification triggers that can be enabled:

shodan alert triggers

Get notified when malware or a compromised services is discovered (replace ALERTID with the one returned by the shodan alert create command):

shodan alert enable ALERTID malware

For questions please contact support@shodan.io