Simple golang Shodan command line client with default query.
To start working with Shodan you need an API key. You can do this at https://www.shodan.io.
Use the API key in $SHODAN_KEY
environment variable.
Usage of ./shodan-cli:
-b black & white, no color
-c compact, no detail
-i string
ip [192.168.0.1]
-n string
net [192.168.0.0/24]
-q string
query ['!http']
On first call shodan-cli
will ask an optional default query stored in .shoddanrc
.
$ git clone https://github.com/yvesago/shodan-cli.git
$ cd shodan-cli
$ make
Cross building :
$ make all
MIT License
Copyright (c) 2018-2021 Yves Agostini