# 使用 Homebrew 安装 shodan

查看 shodan 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:shodan
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shodan
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:shodan
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/shodan>
- **版本:** 1.31.0
- **来源摘要:** Python library and command-line utility for Shodan
- **主页:** <https://cli.shodan.io>
- **仓库:** <https://github.com/achillean/shodan-python>
- **上游文档:** <https://cli.shodan.io>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/c5/06/c6dcc975a1e7d89bc764fd271da8138b318e18080b48e7f1acd2ab63df28/shodan-1.31.0.tar.gz>
- **最后更新:** 2026-07-12T23:29:50+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- shodan (cli)
- shodan (别名)

## 依赖

- certifi
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.31.0
- 管理器更新时间: 2026-07-12
- 本地数据: OK
- 上游仓库: https://cli.shodan.io
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

没有找到 shodan 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: ~/.shodan/api_key, $XDG_CONFIG_HOME/shodan/api_key, ~/.config/shodan/api_key
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** shodan
- **Version Scheme:** 0
- **Revision:** 10
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [recon-ng](https://pkg.so/zh-hans/brew/recon-ng/) - Shares pkgdb curated category or tags: cli, osint, python, security.
- [subfinder](https://pkg.so/zh-hans/brew/subfinder/) - Shares pkgdb curated category or tags: cli, osint, security.
- [sherlock](https://pkg.so/zh-hans/brew/sherlock/) - Shares pkgdb curated category or tags: cli, osint, python, security.
- [amass](https://pkg.so/zh-hans/brew/amass/) - Shares pkgdb curated category or tags: cli, osint, security.
- [theharvester](https://pkg.so/zh-hans/brew/theharvester/) - Shares pkgdb curated category or tags: cli, osint, security.
- [pwntools](https://pkg.so/zh-hans/brew/pwntools/) - Shares pkgdb curated category or tags: cli, python, security.
- [maigret](https://pkg.so/zh-hans/brew/maigret/) - Shares pkgdb curated category or tags: cli, osint, python, security.
- [bandit](https://pkg.so/zh-hans/brew/bandit/) - Shares pkgdb curated category or tags: cli, python, security.
- [censys](https://pkg.so/zh-hans/brew/censys/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, command-line, intelligence, internet.
- [bbot](https://pkg.so/zh-hans/brew/bbot/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, osint, python, python-3-14.

## Combined YAML source

View the package source record on GitHub. [combined/shodan.yml](https://github.com/mxcl/pkgdb/blob/main/combined/shodan.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
