Skip to content
Back to skills

Shodan

ASecurity

>

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 25, 2026
ai-agentsbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill shodan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shodan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shodan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-shodan/badge)](https://www.skillsdirectory.com/skills/majiayu000-shodan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "shodan"
description: ">"
---

# Shodan

*Sourced from killvxk-malskills-zh*

# Shodan CLI

通过 Shodan 进行被动侦察 — 无需接触目标即可发现互联网范围内的主机/服务。

## 快速开始

```bash
# 使用 API 密钥初始化
shodan init YOUR_API_KEY

# 搜索服务/banner
shodan search "apache 2.4.49"

# 主机查询
shodan host 203.0.113.10

# 账户信息/余量
shodan info
```

## 核心命令

| 命令 | 说明 |
|------|------|
| `shodan search <query>` | 搜索 Shodan 索引 |
| `shodan host <ip>` | 详细主机信息(开放端口、banner、漏洞) |
| `shodan count <query>` | 统计结果数量(不消耗查询积分) |
| `shodan download <file> <query>` | 下载结果为压缩 JSON |
| `shodan parse <file>` | 解析已下载的结果 |
| `shodan domain <domain>` | 域名情报 |
| `shodan alert` | 管理监控告警 |
| `shodan stats <query>` | 查询结果统计 |
| `shodan honeyscore <ip>` | 蜜罐评分(0-1) |
| `shodan myip` | 查看本机公网 IP |

## 搜索过滤器

| 过滤器 | 示例 |
|--------|------|
| `hostname:` | `hostname:example.com` |
| `ip:` | `ip:1.2.3.0/24` |
| `org:` | `org:"Target Corp"` |
| `port:` | `port:8080` |
| `product:` | `product:Apache` |
| `version:` | `version:2.4.49` |
| `country:` | `country:IT` |
| `os:` | `os:Windows` |
| `vuln:` | `vuln:CVE-2021-44228` |
| `http.title:` | `http.title:"Login"` |
| `html:` | `html:"admin panel"` |
| `ssl:` | `ssl:"example.com"` |
| `asn:` | `asn:AS12345` |
| `net:` | `net:192.168.0.0/16` |

## 常用工作流

```bash
# 查找某组织的基础设施
shodan search org:"Target Corp" --fields ip_str,port,product

# 下载并解析组织结果
shodan download results.json.gz org:"Target Corp"
shodan parse --fields ip_str,port,product results.json.gz

# 查找暴露的登录面板
shodan search http.title:"administration" org:"Target"

# 基于 CVE 的研究
shodan search vuln:CVE-2021-44228

# SSL 证书横向关联 — 查找共享同一证书的所有主机
shodan search ssl:"example.com"

# 统计结果(不消耗查询积分)
shodan count org:"Target Corp"

# 反向查询/主机详情
shodan host 8.8.8.8
```

## 资源文件

| 文件 | 加载时机 |
|------|----------|
| `references/search-filters.md` | 完整过滤器参考、dork 配方及 API 集成示例 |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.