Shodan
联网设备搜索引擎
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 安全
- 文档 / URL
- https://developer.shodan.io/
简介
Shodan 是联网设备的搜索引擎——扫描横幅、开放端口、服务、漏洞和暴露系统的地理位置。其 API 需要密钥(免费层带限额;无效密钥返回 401——已实测)。是安全研究和暴露面监控的标准工具。
快速开始
账号信息(替换 YOUR_KEY):
curl "https://api.shodan.io/api-info?key=YOUR_KEY"
搜索主机:
curl "https://api.shodan.io/shodan/host/search?query=apache&key=YOUR_KEY"
按 IP 查主机详情:
curl "https://api.shodan.io/shodan/host/8.8.8.8?key=YOUR_KEY"
暴露端口 / 服务:
curl "https://api.shodan.io/shodan/ports?key=YOUR_KEY"
认证方式
- 创建 Shodan 账号 → API 密钥在账号页面。
- 通过
key查询参数携带(无效密钥返回 401——已实测)。
速率限制与注意事项
- 免费层:50 积分/月(1 积分 = 1 页搜索结果或主机扫描);付费档可扩展。
- 搜索查询用 Shodan 的筛选语法(
port:22、country:US、product:nginx)。 host/{ip}端点返回开放端口、横幅、操作系统、漏洞和位置。- 合规使用:只查询你有权检查的 IP/服务。
常见问题
Shodan 免费吗? 免费层:50 积分/月;更多需要付费。
如何获取密钥? 在 shodan.io 注册——密钥在账号页面。
可以搜索什么? 按端口、产品、国家、漏洞等筛选设备。
安全 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Application Environment Verification Android library and API to verify the safety of user devices, detect rooted devices and other risks | API Key | Yes | Yes | ↗ |
| BinaryEdge Provide access to BinaryEdge 40fy scanning platform | API Key | Yes | Yes | ↗ |
| BitWarden Best open-source password manager | OAuth | Yes | Unknown | ↗ |
| Botd Botd is a browser library for JavaScript bot detection | API Key | Yes | Yes | ↗ |
| Bugcrowd Bugcrowd API for interacting and tracking the reported issues programmatically | API Key | Yes | Unknown | ↗ |