← 返回
安全合规 Key

Shodan Skill

Advanced Shodan API interactions including search, scan, alerts, and DNS.
高级Shodan API交互,包括搜索、扫描、警报和DNS。
dmcmurrin4617
安全合规 clawhub v0.1.0 1 版本 99815.2 Key: 需要
★ 0
Stars
📥 540
下载
💾 2
安装
1
版本
#latest

概述

Shodan Skill

A comprehensive wrapper for the Shodan API using the official Python library.

Setup

  1. Install dependencies:

```bash

pip install shodan

```

  1. Configure API Key:

```bash

shodan init

```

Usage

1. Search (Advanced)

Search with limits, pages, and facets (statistics).

python3 {baseDir}/scripts/shodan_skill.py search "<QUERY>" --limit <LIMIT> --page <PAGE> --facets <FACETS>
  • --facets: Comma separated, e.g., country:5,org:5 (top 5 countries and orgs).

2. Count (Statistics)

Get the total count of results without consuming query credits for full details.

python3 {baseDir}/scripts/shodan_skill.py count "<QUERY>" --facets <FACETS>

3. Host Details

Get details for an IP.

python3 {baseDir}/scripts/shodan_skill.py host <IP> [--history] [--minify]

4. On-Demand Scan

Request Shodan to scan a network (consumes Scan Credits).

python3 {baseDir}/scripts/shodan_skill.py scan <IPs>
  • : Single IP, CIDR, or comma-separated list.

5. Network Alerts

Monitor your networks for exposure.

  • List Alerts: python3 {baseDir}/scripts/shodan_skill.py alert_list
  • Create Alert: python3 {baseDir}/scripts/shodan_skill.py alert_create
  • Alert Info: python3 {baseDir}/scripts/shodan_skill.py alert_info

6. DNS & Domains

  • Domain Info: python3 {baseDir}/scripts/shodan_skill.py dns_domain
  • Resolve: python3 {baseDir}/scripts/shodan_skill.py dns_resolve

7. Account & Tools

  • Profile: python3 {baseDir}/scripts/shodan_skill.py profile
  • My IP: python3 {baseDir}/scripts/shodan_skill.py myip
  • Ports: python3 {baseDir}/scripts/shodan_skill.py ports
  • Protocols: python3 {baseDir}/scripts/shodan_skill.py protocols

8. Directory (Saved Queries)

  • Search Queries: python3 {baseDir}/scripts/shodan_skill.py query_search ""
  • Popular Tags: python3 {baseDir}/scripts/shodan_skill.py query_tags

9. Notifiers (Alerts)

  • List Notifiers: python3 {baseDir}/scripts/shodan_skill.py notifier_list

10. Exploits

  • Search Exploits: python3 {baseDir}/scripts/shodan_skill.py exploit_search ""

11. Stream (Realtime)

Stream realtime banners. Use --ports or --alert to filter.

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

12. Trends (Facets)

Use count with facets to analyze trends.

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

13. Cheat Sheets (Help)

  • List Filters: python3 {baseDir}/scripts/shodan_skill.py filters
  • List Banner Fields: python3 {baseDir}/scripts/shodan_skill.py datapedia

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-19 18:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,704
security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,142
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,594