with one click
censys
Censys lookups: hosts, certificates, services on the public internet
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Censys lookups: hosts, certificates, services on the public internet
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Search and download arXiv papers (no API key needed)
Delegate coding and file edits to Anthropic Claude Code CLI
Read/write Windows clipboard text, HTML, images, history (PowerShell)
Running scripts and code on Windows
Delegate coding tasks to OpenAI Codex CLI
Windows Defender: scans, threat history, signatures (PowerShell)
Based on SOC occupation classification
| name | censys |
| description | Censys lookups: hosts, certificates, services on the public internet |
| category | security |
| version | 1.0.0 |
| license | Apache-2.0 |
| origin | aiden |
| tags | security, censys, osint, recon, ports, certificates, tls, asset-discovery, internet-scan |
| env_required | ["CENSYS_API_ID","CENSYS_API_SECRET"] |
Censys continuously scans the public internet and indexes detailed metadata about every reachable host: open ports, running services, TLS certificates, and BGP routing information. Complementary to Shodan with different scanner vantage points and richer certificate data.
Requires: CENSYS_API_ID and CENSYS_API_SECRET — free tier at https://search.censys.io/register (0.4 req/sec, 250 queries/month).
$ip = "8.8.8.8"
$id = $env:CENSYS_API_ID
$secret = $env:CENSYS_API_SECRET
$b64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("${id}:${secret}"))
$headers = @{ Authorization = "Basic $b64" }
$result = Invoke-RestMethod -Uri "https://search.censys.io/api/v2/hosts/$ip" -Headers $headers
$r = $result.result
Write-Host "IP: $($r.ip)"
Write-Host "AS: $($r.autonomous_system.name) (ASN $($r.autonomous_system.asn))"
Write-Host "Country: $($r.location.country)"
Write-Host "Open ports:"
$r.services | ForEach-Object {
Write-Host " $($_.port)/$($_.transport_protocol) — $($_.service_name)"
}
$query = "services.service_name: HTTP and location.country_code: IN"
$b64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("$($env:CENSYS_API_ID):$($env:CENSYS_API_SECRET)"))
$headers = @{ Authorization = "Basic $b64" }
$encoded = [Uri]::EscapeDataString($query)
$result = Invoke-RestMethod -Uri "https://search.censys.io/api/v2/hosts/search?q=$encoded" -Headers $headers
Write-Host "Total matches: $($result.result.total)"
$result.result.hits | Select-Object -First 10 | ForEach-Object {
Write-Host " $($_.ip) — $($_.autonomous_system.name) ($($_.location.country_name))"
}
$sha256 = "YOUR_CERT_SHA256_HERE"
$b64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("$($env:CENSYS_API_ID):$($env:CENSYS_API_SECRET)"))
$headers = @{ Authorization = "Basic $b64" }
$result = Invoke-RestMethod -Uri "https://search.censys.io/api/v2/certificates/$sha256" -Headers $headers
$parsed = $result.result.parsed
Write-Host "Subject: $($parsed.subject_dn)"
Write-Host "Issuer: $($parsed.issuer_dn)"
Write-Host "Valid: $($parsed.validity.start) → $($parsed.validity.end)"
Write-Host "SANs: $($parsed.names_from_san -join ', ')"
"What is exposed on IP 1.2.3.4?" → Host lookup: returns open ports, service names, ASN, and location.
"Find all exposed Redis servers in Germany"
→ Query: services.service_name: REDIS and location.country_code: DE
"Who else uses this TLS certificate?" → Certificate lookup by SHA-256 fingerprint — shows SAN names and validity.
"Show me all hosts in ASN 15169"
→ Query: autonomous_system.asn: 15169
Start-Sleep -Milliseconds 2500CENSYS_API_ID and CENSYS_API_SECRET — free account at https://search.censys.io/register