shodan
« Back to VersTracker
Description:
Python library and command-line utility for Shodan
Type: Formula  |  Latest Version: 1.31.0@6  |  Tracked Since: Dec 18, 2025
Links: Homepage  |  @shodanhq  |  formulae.brew.sh
Category: Security
Tags: security reconnaissance cli api networking
Install: brew install shodan
About:
Shodan is a Python library and command-line interface (CLI) that provides programmatic access to the Shodan search engine. It allows users to query for internet-connected devices and services using a rich set of filters. The tool is essential for security researchers and system administrators to discover exposed assets and potential vulnerabilities.
Key Features:
  • Command-line utility for quick searches and account management
  • Python API for integrating Shodan data into custom scripts and applications
  • Host discovery and service enumeration capabilities
  • Alerting and monitoring for new vulnerabilities or exposed services
Use Cases:
  • Performing reconnaissance to identify an organization's external attack surface
  • Automating security audits to find misconfigured or exposed devices
  • Researching internet-wide trends in service exposure and technology usage
Alternatives:
  • masscan – Masscan is a port scanner that scans the entire internet, whereas Shodan queries a pre-indexed database of historical scans.
  • nmap – Nmap is a network exploration tool for scanning specific targets, while Shodan provides a global view of devices already indexed.
Version History
Detected Version Rev Change Commit
Dec 18, 2025 8:22am 1.31.0 6 VERSION_BUMP e861eb8f
Jan 3, 2025 1:39am 3 VERSION_BUMP cd570615
Jan 2, 2025 7:59pm 3 VERSION_BUMP ba113b25
Sep 10, 2024 11:31pm 3 VERSION_BUMP 24e77c10
May 22, 2024 9:59am 2 VERSION_BUMP c0916b10
Feb 4, 2024 11:01pm 0 VERSION_BUMP 1af6df0a
Dec 17, 2023 12:47pm 0 VERSION_BUMP 14ed126d
Oct 9, 2023 3:04pm 1 VERSION_BUMP 56a39e8e
Oct 6, 2023 5:39pm 1 VERSION_BUMP 6c049205
Aug 15, 2023 9:27pm 0 VERSION_BUMP a417945b
Aug 6, 2023 3:11am 1 VERSION_BUMP 4198e22e
May 26, 2023 1:15pm 0 VERSION_BUMP 6c212b2c