{"id":13454498,"url":"https://github.com/haccer/subjack","last_synced_at":"2026-03-16T00:21:30.756Z","repository":{"id":37484103,"uuid":"106482792","full_name":"haccer/subjack","owner":"haccer","description":"Subdomain Takeover tool written in Go","archived":false,"fork":false,"pushed_at":"2026-03-15T00:14:06.000Z","size":3026,"stargazers_count":2035,"open_issues_count":48,"forks_count":352,"subscribers_count":48,"default_branch":"master","last_synced_at":"2026-03-15T11:09:40.382Z","etag":null,"topics":["bug-bounty","bugbounty","go","golang","hostile","infosec","pentesting","security","subdomain","subdomain-takeover","takeover"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haccer.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}},"created_at":"2017-10-10T23:38:30.000Z","updated_at":"2026-03-15T00:14:09.000Z","dependencies_parsed_at":"2022-07-12T16:19:01.905Z","dependency_job_id":"0235f65e-a8c2-476d-accc-c3d9011f46f9","html_url":"https://github.com/haccer/subjack","commit_stats":{"total_commits":172,"total_committers":9,"mean_commits":19.11111111111111,"dds":"0.42441860465116277","last_synced_commit":"49c51e57deab5d23207742d93e3af487ac110deb"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/haccer/subjack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haccer%2Fsubjack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haccer%2Fsubjack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haccer%2Fsubjack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haccer%2Fsubjack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haccer","download_url":"https://codeload.github.com/haccer/subjack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haccer%2Fsubjack/sbom","scorecard":{"id":452020,"data":{"date":"2025-08-11","repo":{"name":"github.com/haccer/subjack","commit":"49c51e57deab5d23207742d93e3af487ac110deb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":4,"reason":"Found 8/20 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T08:25:34.640Z","repository_id":37484103,"created_at":"2025-08-19T08:25:34.640Z","updated_at":"2025-08-19T08:25:34.640Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30551507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T15:03:43.933Z","status":"ssl_error","status_checked_at":"2026-03-15T15:03:37.630Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bug-bounty","bugbounty","go","golang","hostile","infosec","pentesting","security","subdomain","subdomain-takeover","takeover"],"created_at":"2024-07-31T08:00:54.721Z","updated_at":"2026-03-16T00:21:30.736Z","avatar_url":"https://github.com/haccer.png","language":"Go","funding_links":[],"categories":["Exploitation","Go","Miscellaneous","Weapons","Go (531)","\u003ca id=\"a76463feb91d09b3d024fae798b92be6\"\u003e\u003c/a\u003e侦察\u0026\u0026信息收集\u0026\u0026子域名发现与枚举\u0026\u0026OSINT","\u003ca id=\"170048b7d8668c50681c0ab1e92c679a\"\u003e\u003c/a\u003e工具","DNS","Network Scanners","Repositories"],"sub_categories":["Subdomain Takeover","Tools","\u003ca id=\"e945721056c78a53003e01c3d2f3b8fe\"\u003e\u003c/a\u003e子域名枚举\u0026\u0026爆破","Purple Team"],"readme":"# subjack\n\n[![Build Status](https://api.travis-ci.org/haccer/subjack.svg?branch=master)](https://travis-ci.org/haccer/subjack) \n[![Build status](https://ci.appveyor.com/api/projects/status/dm8f2yyjcbn3j1cm?svg=true\u0026passingText=Windows%20-%20OK\u0026failingText=Windows%20-%20failed\u0026pendingText=Windows%20-%20pending)](https://ci.appveyor.com/project/haccer/subjack) \n[![Go Report Card](https://goreportcard.com/badge/github.com/haccer/subjack)](https://goreportcard.com/report/github.com/haccer/subjack) \n[![GoDoc](https://godoc.org/github.com/haccer/subjack/subjack?status.svg)](http://godoc.org/github.com/haccer/subjack/subjack) \n[![GitHub license](https://img.shields.io/github/license/haccer/subjack.svg)](https://github.com/haccer/subjack/blob/master/LICENSE)\n\nSubjack is a Subdomain Takeover tool written in Go designed to scan a list of subdomains concurrently and identify ones that are able to be hijacked. With Go's speed and efficiency, this tool really stands out when it comes to mass-testing. Always double check the results manually to rule out false positives.\n\nSubjack will also check for subdomains attached to domains that don't exist (NXDOMAIN) and are **available to be registered**. No need for dig ever again! This is still cross-compatible too.\n\n**What's New? (Last Updated 09/17/18)**\n- Custom fingerprint support\n- New Services (Re-added Zendesk \u0026\u0026 Added Readme, Bitly, and more)\n- Slight performance enhancements\n\n## Installing\n\nRequires [Go](https://golang.org/dl/)\n\n`go get github.com/haccer/subjack`\n\n## How To Use:\n\nExamples: \n- `./subjack -w subdomains.txt -t 100 -timeout 30 -o results.txt -ssl`\n\nOptions:\n- `-d test.com` if you want to test a single domain.\n- `-w domains.txt` is your list of subdomains.\n- `-t` is the number of threads (Default: 10 threads). \n- `-timeout` is the seconds to wait before timeout connection (Default: 10 seconds).\n- `-o results.txt` where to save results to. For JSON: `-o results.json`\n- `-ssl` enforces HTTPS requests which may return a different set of results and increase accuracy.\n- `-a` skips CNAME check and sends requests to every URL. **(Recommended)**\n- `-m`\tflag the presence of a dead record, but valid CNAME entry.\n- `-v` verbose. Display more information per each request. \n- `-c` Path to configuration file.\n\n## Practical Use\n\nYou can use [scanio.sh](https://gist.github.com/haccer/3698ff6927fc00c8fe533fc977f850f8) which is kind of a PoC script to mass-locate vulnerable subdomains using results from Rapid7's Project Sonar. This script parses and greps through the dump for desired CNAME records and makes a large list of subdomains to check with subjack if they're vulnerable to Hostile Subdomain Takeover. Of course this isn't the only method to get a large amount of data to test. **Please use this responsibly ;)**\n\n## Adding subjack to your workflow\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"encoding/json\"\n\t\"io/ioutil\"\n\t\"strings\"\n\n\t\"github.com/haccer/subjack/subjack\"\n)\n \n\nfunc main() {\n\tvar fingerprints []subjack.Fingerprints\n\tconfig, _ := ioutil.ReadFile(\"custom_fingerprints.json\")\n\tjson.Unmarshal(config, \u0026fingerprints)\n\n\tsubdomain := \"dead.cody.su\"\n\t/* Use subjack's advanced detection to identify \n\tif the subdomain is able to be taken over. */\n\tservice := subjack.Identify(subdomain, false, false, 10, fingerprints)\n\n\tif service != \"\" {\n\t\tservice = strings.ToLower(service)\n\t\tfmt.Printf(\"%s is pointing to a vulnerable %s service.\\n\", subdomain, service)\n\t}\n}\n```\n\nSee the [godoc](https://godoc.org/github.com/haccer/subjack/subjack) for more functions.\n\n## FAQ\n**Q:** What should my wordlist look like?\n\n**A:** Your wordlist should include a list of subdomains you're checking and should look something like:\n```\nassets.cody.su\nassets.github.com\nb.cody.su\nbig.example.com\ncdn.cody.su\ndev.cody.su\ndev2.twitter.com\n```\n\n## References\nExtra information about Hostile Subdomain Takeovers:\n\n- [https://github.com/EdOverflow/can-i-take-over-xyz](https://github.com/EdOverflow/can-i-take-over-xyz)\n- [https://labs.detectify.com/2014/10/21/hostile-subdomain-takeover-using-herokugithubdesk-more/](https://labs.detectify.com/2014/10/21/hostile-subdomain-takeover-using-herokugithubdesk-more/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaccer%2Fsubjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaccer%2Fsubjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaccer%2Fsubjack/lists"}