{"id":13454956,"url":"https://github.com/XTLS/RealiTLScanner","last_synced_at":"2025-03-24T07:32:16.599Z","repository":{"id":120111325,"uuid":"610065886","full_name":"XTLS/RealiTLScanner","owner":"XTLS","description":"A TLS server scanner for Reality","archived":false,"fork":false,"pushed_at":"2024-02-18T03:17:17.000Z","size":27,"stargazers_count":1867,"open_issues_count":2,"forks_count":140,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-03-17T19:21:53.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XTLS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-06T02:29:08.000Z","updated_at":"2025-03-17T02:28:41.000Z","dependencies_parsed_at":"2024-02-18T04:23:30.267Z","dependency_job_id":"3af18767-3aee-41ee-962b-87ca02a0623e","html_url":"https://github.com/XTLS/RealiTLScanner","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XTLS%2FRealiTLScanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XTLS%2FRealiTLScanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XTLS%2FRealiTLScanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XTLS%2FRealiTLScanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XTLS","download_url":"https://codeload.github.com/XTLS/RealiTLScanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245227549,"owners_count":20580898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T08:00:59.747Z","updated_at":"2025-03-24T07:32:16.149Z","avatar_url":"https://github.com/XTLS.png","language":"Go","readme":"# Reality - TLS - Scanner\n\n## Building\n\nRequirement: Go 1.21+\n\n```bash\ngo build\n```\n\n## Usage\n\nIt is recommended to run this tool locally, as running the scanner in the cloud may cause the VPS to be flagged.\n```bash\n# Show help\n./RealiTLScanner\n\n# Scan a specific IP, IP CIDR or domain:\n./RealiTLScanner -addr 1.2.3.4\n# Note: infinity mode will be enabled automatically if `addr` is an IP or domain\n\n# Scan a list of targets from a file (targets should be divided by line break):\n./RealiTLScanner -in in.txt\n\n# Crawl domains from a URL and scan:\n./RealiTLScanner -url https://launchpad.net/ubuntu/+archivemirrors\n\n# Specify a port to scan, default: 443\n./RealiTLScanner -addr 1.1.1.1 -port 443\n\n# Show verbose output, including failed scans and infeasible targets:\n./RealiTLScanner -addr 1.2.3.0/24 -v\n\n# Save results to a file, default: out.csv\n./RealiTLScanner -addr www.microsoft.com -out file.csv\n\n# Set a thread count, default: 1\n./RealiTLScanner -addr wiki.ubuntu.com -thread 10\n\n# Set a timeout for each scan, default: 10 (seconds)\n./RealiTLScanner -addr 107.172.1.1/16 -timeout 5\n```\n\n### Enable Geo IP\n\nTo enable Geo IP information, place a MaxMind GeoLite2/GeoIP2 Country Database in the executing folder with the exact name `Country.mmdb`. You can download one from [here](https://github.com/Loyalsoldier/geoip/releases/latest/download/Country.mmdb).\n\n## Demo\n\nExample stdout:\n\n```bash\n2024/02/08 20:51:10 INFO Started all scanning threads time=2024-02-08T20:51:10.017+08:00\n2024/02/08 20:51:10 INFO Connected to target feasible=true host=107.172.103.9 tls=1.3 alpn=h2 domain=rocky-linux.tk issuer=\"Let's Encrypt\"\n2024/02/08 20:51:10 INFO Connected to target feasible=true host=107.172.103.11 tls=1.3 alpn=h2 domain=rn.allinai.dev issuer=\"Let's Encrypt\"\n2024/02/08 20:51:13 INFO Connected to target feasible=true host=107.172.103.16 tls=1.3 alpn=h2 domain=san.hiddify01.foshou.vip issuer=\"Let's Encrypt\"\n2024/02/08 20:51:13 INFO Connected to target feasible=true host=107.172.103.19 tls=1.3 alpn=h2 domain=mgzx19.cnscholar.top issuer=\"Let's Encrypt\"\n2024/02/08 20:51:13 INFO Connected to target feasible=true host=107.172.103.22 tls=1.3 alpn=h2 domain=hy2.znull.top issuer=ZeroSSL\n2024/02/08 20:51:21 INFO Connected to target feasible=true host=107.172.103.37 tls=1.3 alpn=h2 domain=c1.webgenbd.com issuer=\"Let's Encrypt\"\n2024/02/08 20:51:23 INFO Connected to target feasible=true host=107.172.103.46 tls=1.3 alpn=h2 domain=racknerd.myideal.xyz issuer=\"Let's Encrypt\"\n2024/02/08 20:51:38 INFO Scanning completed time=2024-02-08T20:51:38.988+08:00 elapsed=28.97043s\n```\n\nExample output file:\n\n```csv\nIP,ORIGIN,CERT_DOMAIN,CERT_ISSUER,GEO_CODE\n202.70.64.2,ntc.net.np,*.ntc.net.np,\"GlobalSign nv-sa\",NP\n196.200.160.70,mirror.marwan.ma,mirror.marwan.ma,\"Let's Encrypt\",MA\n103.194.167.213,mirror.i3d.net,*.i3d.net,\"Sectigo Limited\",JP\n194.127.172.131,nl.mirrors.clouvider.net,nl.mirrors.clouvider.net,\"Let's Encrypt\",NL\n202.36.220.86,mirror.2degrees.nz,mirror.2degrees.nz,\"Let's Encrypt\",NZ\n202.36.220.86,ubuntu.mirrors.theom.nz,mirror.2degrees.nz,\"Let's Encrypt\",NZ\n158.37.28.65,ubuntu.hi.no,alma.hi.no,\"Let's Encrypt\",NO\n193.136.164.6,ftp.rnl.tecnico.ulisboa.pt,ftp.rnl.ist.utl.pt,\"Let's Encrypt\",PT\n75.2.60.5,cesium.di.uminho.pt,cesium.di.uminho.pt,\"Let's Encrypt\",US\n195.14.50.21,mirror.corbina.net,ftp.corbina.net,\"Let's Encrypt\",RU\n```\n\n","funding_links":[],"categories":["Go","Сканеры SNI"],"sub_categories":["Бекап логов"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXTLS%2FRealiTLScanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXTLS%2FRealiTLScanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXTLS%2FRealiTLScanner/lists"}