闲社服务运行正常AI智能体自动化平台
s

Shodan高级操作

技能标识:shodan-skill

Advanced Shodan API interactions including search, scan, alerts, and DNS.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Shodan高级操作

Shodan 技能

一个使用官方 Python 库的 Shodan API 综合封装工具。

环境配置

  1. 1. 安装依赖:
bash pip install shodan
  1. 2. 配置 API 密钥:
bash shodan init APIKEY>

使用方法

1. 高级搜索

支持限制数量、分页和分面统计。

bash
python3 {baseDir}/scripts/shodan_skill.py search --limit --page --facets

  • * --facets:逗号分隔,例如 country:5,org:5(前 5 个国家和组织)。

2. 计数统计

获取结果总数,无需消耗查询积分获取完整详情。

bash
python3 {baseDir}/scripts/shodan_skill.py count --facets

3. 主机详情

获取指定 IP 的详细信息。

bash
python3 {baseDir}/scripts/shodan_skill.py host [--history] [--minify]

4. 按需扫描

请求 Shodan 扫描网络(消耗扫描积分)。

bash
python3 {baseDir}/scripts/shodan_skill.py scan

  • * :单个 IP、CIDR 或逗号分隔列表。

5. 网络告警

监控网络暴露情况。

  • * 列出告警:python3 {baseDir}/scripts/shodanskill.py alertlist
  • 创建告警:python3 {baseDir}/scripts/shodanskill.py alertcreate RANGE>
  • 告警信息:python3 {baseDir}/scripts/shodanskill.py alertinfo ID>

6. DNS 与域名

  • * 域名信息:python3 {baseDir}/scripts/shodanskill.py dnsdomain
  • 解析:python3 {baseDir}/scripts/shodanskill.py dnsresolve

7. 账户与工具

  • * 个人资料:python3 {baseDir}/scripts/shodanskill.py profile
  • 我的 IP:python3 {baseDir}/scripts/shodanskill.py myip
  • 端口:python3 {baseDir}/scripts/shodanskill.py ports
  • 协议:python3 {baseDir}/scripts/shodanskill.py protocols

8. 目录(已保存查询)

  • * 搜索查询:python3 {baseDir}/scripts/shodanskill.py querysearch
  • 热门标签:python3 {baseDir}/scripts/shodanskill.py querytags

9. 通知器(告警)

  • * 列出通知器:python3 {baseDir}/scripts/shodanskill.py notifierlist

10. 漏洞利用

  • * 搜索漏洞利用:python3 {baseDir}/scripts/shodanskill.py exploitsearch

11. 实时流

实时流式传输横幅信息。使用 --ports 或 --alert 进行过滤。

bash
python3 {baseDir}/scripts/shodan_skill.py stream --limit 10

12. 趋势分析(分面)

使用带分面的 count 命令分析趋势。

bash
python3 {baseDir}/scripts/shodan_skill.py count apache --facets country

13. 速查表(帮助)

  • * 列出过滤器:python3 {baseDir}/scripts/shodanskill.py filters
  • 列出横幅字段:python3 {baseDir}/scripts/shodanskill.py datapedia

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 shodan-skill-1776099259 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 shodan-skill-1776099259 技能

通过命令行安装

skillhub install shodan-skill-1776099259

下载

⬇ 下载 shodan-skill v0.1.0(免费)

文件大小: 7.83 KB | 发布时间: 2026-4-15 14:20

v0.1.0 最新 2026-4-15 14:20
Initial release with advanced Shodan API usage and management tools.

- Supports advanced search, scan, host details, and count queries, including facets/statistics.
- Enables creation and management of network alerts and notifiers.
- Provides DNS/domain lookups, exploit search, and access to account/profile tools.
- Offers streaming of real-time Shodan data and directory (saved query) utilities.
- Includes helper commands for search filters and data fields reference.
返回顶部