# evilsocket/xray

XRay is a tool for recon, mapping and OSINT gathering from public networks.

Repository: https://github.com/evilsocket/xray
Canonical: https://ross.abutalabs.com/products/evilsocket-xray
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: osint, security, network, shodan, intelligence, mapping
Archived: true
Last push: 2024-07-10T09:43:56+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3343, "days_push": 784, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2331, forks 297 (observed 2026-08-28T04:06:37.775923+00:00)

## What it is
XRay is a Go-based CLI tool for network reconnaissance and OSINT that enumerates subdomains via DNS bruteforcing, gathers open-port intelligence from Shodan, grabs service banners, and presents results in a web UI. The repository is legacy code, as the project has been reimplemented and expanded in Rust as 'legba'.

## Use cases
- enumerate subdomains of a target domain via DNS wordlist bruteforcing
- gather open ports and service fingerprints for discovered hosts using Shodan
- grab banners from HTTP, HTTPS, SSH, FTP, SMTP, MySQL, POP and IRC services
- collect historical DNS data for a domain via ViewDNS
- map a public network's attack surface during initial recon
- inspect HTTPS certificate chains to discover additional subdomains

## When to avoid
- you want active development or new features - use the successor project legba instead
- you need stealth or anonymity - connections are made directly from your host and may be flagged
- you require port scanning without third-party API dependencies
- unauthorized scanning may be illegal or against the target's policies

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: osint, search-engine, http-client, web-scraping, security, networking, cli
- domain: security, osint, networking, developer-tools
- platform: windows, go, cli
- tags: network-recon, subdomain-enumeration, shodan, banner-grabbing, network-mapping, legacy, superseded-by-legba, linux, macos, docker

## Member repositories
- evilsocket/xray (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.775923+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:59.028149+00:00, confidence not recorded.
  - readme: https://github.com/evilsocket/xray (fetched 2026-08-28T04:06:37.775923+00:00, sha c1862bed013d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
