zebbern/claude-code-guide/shodan-reconnaissance
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "search for exposed devices on the internet," "perform Shodan reconnaissance," "find vulnerable services using Shodan," "scan IP ranges with Shodan," or "discover IoT devices and open ports." It provides comprehensive guidance for using Shodan's search engine, CLI, and API for penetration testing reconnaissance.
Install
npx vskill@latest install zebbern/claude-code-guide/shodan-reconnaissanceSKILL.md
Shodan Reconnaissance and Pentesting
Purpose
Provide systematic methodologies for leveraging Shodan as a reconnaissance tool during penetration testing engagements. This skill covers the Shodan web interface, command-line interface (CLI), REST API, search filters, on-demand scanning, and network monitoring capabilities for discovering exposed services, vulnerable systems, and IoT devices.
Inputs / Prerequisites
- Shodan Account: Free or paid account at shodan.io
- API Key: Obtained from Shodan account dashboard
- Target Information: IP addresses, domains, or network ranges to investigate
- Shodan CLI: Python-based command-line tool installed
- Authorization: Written permission for reconnaissance on target networks
Outputs / Deliverables
- Asset Inventory: List of discovered hosts, ports, and services
- Vulnerability Report: Identified CVEs and exposed vulnerable services
- Banner Data: Service banners revealing software versions
- Network Mapping: Geographic and organizational distribution of assets
- Screenshot Gallery: Visual reconnaissance of exposed interfaces
- Exported Data: JSON/CSV files for further analysis
Core Workflow
1. Setup and Configuration
Install Shodan CLI
Initialize API Key
Check Account Status
2. Basic Host Reconnaissance
Query Single Host
Check if Host is Honeypot
3. Search Queries
Basic Search (Free)
Filtered Search (1 Credit)
Count Results
Download Results
Parse Downloaded Data
4. Search Filters Reference
Network Filters
Geographic Filters
Organization Filters
Service/Product Filters
Vulnerability Filters
Screenshot Filters
5. On-Demand Scanning
Submit Scan
Monitor Scan Status
Available Scan Protocols
6. Statistics and Analysis
Get Search Statistics
7. Network Monitoring
Setup Alerts (Web Interface)
8. REST API Usage
Direct API Calls
Python Library
Quick Reference
Essential CLI Commands
| Command | Description | Credits | |
|---|---|---|---|
shodan init KEY | Initialize API key | 0 | |
shodan info | Show account info | 0 | |
shodan myip | Show your IP | 0 | |
shodan host IP | Host details | 0 | |
shodan count QUERY | Result count | 0 | |
shodan search QUERY | Basic search | 0* | |
shodan download FILE QUERY | Save results | 1/100 results | |
shodan parse FILE | Extract data | 0 | |
shodan stats QUERY | Statistics | 1 | |
shodan scan submit IP | On-demand scan | 1/IP | |
shodan honeyscore IP | Honeypot check | 0 |
*Filters consume 1 credit per query
Common Search Queries
| Purpose | Query | |
|---|---|---|
| Find webcams | webcam has_screenshot:true | |
| MongoDB databases | product:mongodb | |
| Redis servers | product:redis | |
| Elasticsearch | product:elastic port:9200 | |
| Default passwords | "default password" | |
| Vulnerable RDP | port:3389 vuln:CVE-2019-0708 | |
| Industrial systems | port:502 modbus | |
| Cisco devices | product:cisco | |
| Open VNC | port:5900 authentication disabled | |
| Exposed FTP | port:21 anonymous | |
| WordPress sites | http.component:wordpress | |
| Printers | "HP-ChaiSOE" port:80 | |
| Cameras (RTSP) | port:554 has_screenshot:true | |
| Jenkins servers | X-Jenkins port:8080 | |
| Docker APIs | port:2375 product:docker |
Useful Filter Combinations
| Scenario | Query | |
|---|---|---|
| Target org recon | org:"Company Name" | |
| Domain enumeration | hostname:example.com | |
| Network range scan | net:192.168.0.0/24 | |
| SSL cert search | ssl.cert.subject.cn:*.target.com | |
| Vulnerable servers | vuln:CVE-2021-44228 country:US | |
| Exposed admin panels | http.title:"admin" port:443 | |
| Database exposure | port:3306,5432,27017,6379 |
Credit System
| Action | Credit Type | Cost | |
|---|---|---|---|
| Basic search | Query | 0 (no filters) | |
| Filtered search | Query | 1 | |
| Download 100 results | Query | 1 | |
| Generate report | Query | 1 | |
| Scan 1 IP | Scan | 1 | |
| Network monitoring | Monitored IPs | Depends on plan |
Constraints and Limitations
Operational Boundaries
- Rate limited to 1 request per second
- Scan results not immediate (asynchronous)
- Cannot re-scan same IP within 24 hours (non-Enterprise)
- Free accounts have limited credits
- Some data requires paid subscription
Data Freshness
- Shodan crawls continuously but data may be days/weeks old
- On-demand scans provide current data but cost credits
- Historical data available with paid plans
Legal Requirements
- Only perform reconnaissance on authorized targets
- Passive reconnaissance generally legal but verify jurisdiction
- Active scanning (scan submit) requires authorization
- Document all reconnaissance activities
Examples
Example 1: Organization Reconnaissance
Example 2: Vulnerable Service Discovery
Example 3: IoT Device Discovery
Example 4: SSL/TLS Certificate Analysis
Example 5: Python Automation Script
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/shodan-reconnaissance/SKILL.md
Popularity
- Repository stars
- 3,572
- Repository forks
- 332
- Repository npm downloads, 7 days
- 5,294
- 7-day trend score
- 61
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 20 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zebbern/claude-code-guide/shodan-reconnaissance)