{"id":31206291,"url":"https://github.com/mohammadhasanii/subhunter","last_synced_at":"2025-10-20T02:59:10.661Z","repository":{"id":313779914,"uuid":"1052671383","full_name":"mohammadhasanii/SubHunter","owner":"mohammadhasanii","description":"SubHunter is a fast and concurrent tool to discover subdomains, detect open ports, and identify service providers. It also detects whether a domain is behind a CDN, helping security researchers and network engineers map the real infrastructure behind a target domain.","archived":false,"fork":false,"pushed_at":"2025-09-08T12:02:07.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-20T19:44:08.783Z","etag":null,"topics":["cdn-detection","cybersecurity","domain-scanner","golang","network-security","penetration-testing","port-scanner","scanner","subdomain-scanner"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohammadhasanii.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T11:41:06.000Z","updated_at":"2025-09-08T12:02:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a7742a8-7906-4276-9148-3dd8a1260fbf","html_url":"https://github.com/mohammadhasanii/SubHunter","commit_stats":null,"previous_names":["mohammadhasanii/subhunter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mohammadhasanii/SubHunter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FSubHunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FSubHunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FSubHunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FSubHunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadhasanii","download_url":"https://codeload.github.com/mohammadhasanii/SubHunter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FSubHunter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279991941,"owners_count":26255815,"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","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cdn-detection","cybersecurity","domain-scanner","golang","network-security","penetration-testing","port-scanner","scanner","subdomain-scanner"],"created_at":"2025-09-20T19:31:03.712Z","updated_at":"2025-10-20T02:59:10.656Z","avatar_url":"https://github.com/mohammadhasanii.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SubHunter\n\nSubHunter is a fast and concurrent tool to discover subdomains, detect open ports, and identify service providers. It also detects whether a domain is behind a CDN, helping security researchers and network engineers map the real infrastructure behind a target domain.\n\n## Features\n\n- **Subdomain Discovery**: Collects subdomains from crt.sh certificate transparency logs\n- **Port Scanning**: Detects open ports for non-CDN domains using concurrent scanning\n- **Service Detection**: Identifies service provider and hosting information\n- **CDN Detection**: Checks if domain is behind a Content Delivery Network\n- **High Performance**: Concurrent scanning architecture for faster results\n- **Clean Output**: Professional table-formatted results for easy analysis\n\n## Installation\n\n### Prerequisites\n- [Go](https://go.dev/dl/) version 1.19 or higher\n\n### Setup\n1. Clone the repository:\n```bash\ngit clone https://github.com/mohammadhasanii/SubHunter.git\ncd SubHunter\n```\n\n2. Install dependencies:\n```bash\ngo mod init subhunter\ngo mod tidy\n```\n\n## Build\n\n### For Windows:\n```bash\ngo build -o SubHunter.exe main.go\n```\n\n### For Linux/macOS:\n```bash\ngo build -o subhunter main.go\n```\n\n## Usage\n\n### Basic Usage\n```bash\n# Windows\n./SubHunter.exe\n\n# Linux/macOS\n./subhunter\n```\n\n### Input Format\n- Enter the main domain **without** `http://` or `https://`\n- Enter **root domain only** (no subdomains)\n\n**Examples:**\n- ✅ `example.com`\n- ✅ `google.com`\n- ❌ `https://example.com`\n- ❌ `www.example.com`\n\n\n## Output Format\n\nResults are displayed in a clean table containing:\n- **Subdomain**: Discovered subdomain\n- **Provider**: Hosting/cloud provider\n- **CDN Status**: Whether domain is behind CDN\n- **Open Ports**: List of detected open ports\n- **Response Time**: Average response time\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Fsubhunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadhasanii%2Fsubhunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Fsubhunter/lists"}