shodan-cli
shodan-cli copied to clipboard
Simple golang shodan cli
shodan-cli
Simple golang Shodan command line client with default query.
Usage
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.
Query sample

IP query sample

Network query sample

Version 0.2.0: SSL and CPE

Build
$ git clone https://github.com/yvesago/shodan-cli.git
$ cd shodan-cli
$ make
Cross building :
$ make all
Links
Licence
MIT License
Copyright (c) 2018-2021 Yves Agostini