Shodan CLI

Query the Shodan internet-scan database.

KaliParrotpassive

pkg: shodan

The Shodan CLI searches the global scan database for exposed services, banners and vulnerabilities — passive recon.

Syntax

shodan {subcommand} [args]

Example

shodan host 1.1.1.1

Shows open ports/services Shodan has seen for an IP.

Advantages
  • Pure passive intel
  • Huge exposure dataset
Disadvantages
  • Needs an API key
  • Data may be stale
Tags
#osint#shodan

Official docs: Shodan CLI

Related commands

Frequently asked questions

What is Shodan CLI used for?
The Shodan CLI searches the global scan database for exposed services, banners and vulnerabilities — passive recon.
What is an example Shodan CLI command?
A common example is: shodan host 1.1.1.1 — Shows open ports/services Shodan has seen for an IP.
Is Shodan CLI part of Kali Linux?
Yes. Shodan CLI ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install shodan.
What category of security tool is Shodan CLI?
Shodan CLI is a Information Gathering tool with a passive-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →