Shodan
The Shodan Command Line Interface (CLI) is useful for automated queries and host exploration.
CLI Initialization¶
Default Queries¶
# Query information about a specific IP address
shodan host 8.8.8.8
# Search Shodan using standard search query filters
shodan search "port:22 os:linux"
# Get a count of search results
shodan count "port:445 country:US"
# Check your current account balance and details
shodan info