XRay
Go tool that enumerated subdomains and used Shodan and banner grabbing to map a domain's hosts in a web UI.
Go CLI · Web UI · Docker · Open source · Infrastructure and domains · github.com
- Takes
- Domain
- Pricing
- Open source
- Footprint
- Active · contacts the target
- Account
- Needed for full results
- API
- No public API
- Last verified
- Nov 23, 2026
Go tool that enumerated subdomains and used Shodan and banner grabbing to map a domain's hosts in a web UI. It takes domain. Read the cons before you build a workflow on it.
What it does
XRay brute-forces subdomains of a target domain with a wordlist, looks up each host on Shodan for open ports, optionally pulls historical DNS data from ViewDNS, then connects to the open ports to grab HTTP headers, robots.txt, TLS certificates and service banners. Results appear in a local web UI.
Its README marks the repository as legacy code and points to a Rust reimplementation in evilsocket/legba.
Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. An account is needed for full results. There is no public API.
- +Combines DNS, Shodan and banner data in one view
- +Simple single-binary tool
- +No port scanning of its own; ports come from Shodan
- −The repository is archived (read-only) and no longer maintained.
- −Without a Shodan API key it only does subdomain enumeration
- −Banner grabbing connects directly to target hosts
When to use it
- 01Use it when studying a simple domain-mapping pipeline that combines DNS and Shodan.
- 02Use it when you need a quick local map of an authorised target and have a Shodan key.
Next steps from this result
Suggested from the inputs XRay takes- Found a resultConfirm it with a second, independent source before you record it
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
git clone https://github.com/evilsocket/xray.git cd xray docker build -t xraydocker . docker run --rm -it -p 8080:8080 xraydocker xray -address 0.0.0.0 -shodan-key KEY -domain example.com
Technical details
Listing verified by an editor on Nov 23, 2026- API
- No public API
- Account
- Needed for full results
- Footprint
- Active · contacts the target
- Pricing
- Open source · Free and open source (GPL-3.0); Shodan API key needed for most features.
- Platforms
- Go CLI · Web UI · Docker
- Repository
- evilsocket/xray 2,344 stars
- Language
- Go
- Licence
- GPL-3.0
- Last commit
- Jul 2024 (archived)
- Listed
- Nov 23
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used XRay? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to XRay
Listed tools that take the same inputs, closest match first.
- DNSDumpsterFreemium · Passive · APIWhat it does
Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map.
DomainNo ratings yetVerified 2d ago - Fast Google Dorks ScanOpen source · PassiveWhat it does
Shell script that runs a set of Google dork searches against one website to find admin panels, file types and exposed paths.
DomainNo ratings yetVerified 2d ago - FindomainOpen source · DependsWhat it does
Rust subdomain finder that queries certificate logs and dozens of passive APIs, with optional monitoring and alerts.
DomainNo ratings yetVerified 2d ago
