shodan-skill

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "shodan-skill" with this command: npx skills add dmcmurrin4617/shodan-skill

Shodan Skill

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

Setup

  1. Install dependencies:

    pip install shodan
    
  2. Configure API Key:

    shodan init <YOUR_API_KEY>
    

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>
  • <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 <NAME> <IP_RANGE>
  • Alert Info: python3 {baseDir}/scripts/shodan_skill.py alert_info <ALERT_ID>

6. DNS & Domains

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

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 "<TERM>"
  • 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 "<QUERY>"

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Table Image

Generate images from tables for better readability in messaging apps like Telegram. Use when displaying tabular data.

Registry SourceRecently Updated
2.8K0joargp
General

Transcribe audio files via OpenRouter using audio-capable models

Transcribe audio files via OpenRouter using audio-capable models (Gemini, GPT-4o-audio, etc).

Registry SourceRecently Updated
3.5K4obviyus
General

Reddit

Browse, search, post, and moderate Reddit. Read-only works without auth; posting/moderation requires OAuth setup.

Registry SourceRecently Updated
10K45Profile unavailable
General

Spotify Player

Terminal Spotify playback/search via spogo (preferred) or spotify_player.

Registry SourceRecently Updated
23.1K47steipete