{"id":26940022,"url":"https://github.com/demon1a/github-subdomains","last_synced_at":"2025-08-25T01:16:02.906Z","repository":{"id":266439297,"uuid":"897293252","full_name":"DEMON1A/github-subdomains","owner":"DEMON1A","description":"Github-subdomains fork that supports custom timeout for the Github API","archived":false,"fork":false,"pushed_at":"2024-12-02T11:55:26.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T15:16:19.535Z","etag":null,"topics":["bugbounty","github-subdomains","recon","reconnaissance"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DEMON1A.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":["gwen001"],"patreon":"MohammedDief","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://paypal.me/MohammedDieff"}},"created_at":"2024-12-02T11:33:35.000Z","updated_at":"2024-12-02T11:55:30.000Z","dependencies_parsed_at":"2024-12-04T09:35:55.266Z","dependency_job_id":"19093392-7383-4b2a-93f7-b9a17a360bc1","html_url":"https://github.com/DEMON1A/github-subdomains","commit_stats":null,"previous_names":["demon1a/github-subdomains"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DEMON1A/github-subdomains","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMON1A%2Fgithub-subdomains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMON1A%2Fgithub-subdomains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMON1A%2Fgithub-subdomains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMON1A%2Fgithub-subdomains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEMON1A","download_url":"https://codeload.github.com/DEMON1A/github-subdomains/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMON1A%2Fgithub-subdomains/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271989932,"owners_count":24854701,"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-08-24T02:00:11.135Z","response_time":111,"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":["bugbounty","github-subdomains","recon","reconnaissance"],"created_at":"2025-04-02T15:16:26.668Z","updated_at":"2025-08-25T01:16:02.858Z","avatar_url":"https://github.com/DEMON1A.png","language":"Go","funding_links":["https://github.com/sponsors/gwen001","https://patreon.com/MohammedDief","https://paypal.me/MohammedDieff"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003egithub-subdomains\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eFind subdomains on GitHub.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/go-v1.13-blue\" alt=\"go badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"MIT license badge\"\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=https%3a%2f%2fgithub.com%2fgwen001%2fgithub-subdomains%2f\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fgwen001%2Fgithub-subdomains\" alt=\"twitter badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/gwen001/github-subdomains?style=social\" alt=\"github stars badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/watchers/gwen001/github-subdomains?style=social\" alt=\"github watchers badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/gwen001/github-subdomains?style=social\" alt=\"github forks badge\"\u003e\n\u003c/p\u003e --\u003e\n\n---\n\n## Description\n\nThis Go tool performs searches on GitHub and parses the results to find subdomains of a given domain.\n\n## Install\n\n```bash\ngo install github.com/DEMON1A/github-subdomains@latest\n```\n\nor\n\n```bash\ngit clone https://github.com/DEMON1A/github-subdomains\ncd github-subdomains\ngo install\n```\n\n## Update an existing github-subdomains binary\n```bash\ngit clone https://github.com/DEMON1A/github-subdomains\ncd github-subdomains\ngo build -o gs \nmv gs $(whereis github-subdomains | cut -d \":\" -f 2) # use sudo if required\n```\n\n## Usage\n\n```\n$ github-subdomains -h\n\nUsage of github-subdomains:\n  -d string\n    \tdomain you are looking for (required)\n  -e\textended mode, also look for \u003cdummy\u003eexample.\u003ctld\u003e\n  -k\texit the program when all tokens have been disabled\n  -o string\n    \toutput file, default: \u003cdomain\u003e.txt\n  -raw\n    \traw output\n  -t string\n    \tgithub token (required), can be:\n    \t  • a single token\n    \t  • a list of tokens separated by comma\n    \t  • a file (.tokens) containing 1 token per line\n    \tif the options is not provided, the environment variable GITHUB_TOKEN is readed, it can be:\n    \t  • a single token\n    \t  • a list of tokens separated by comma\n  -w int\n        time to wait for github api to respond ~ in seconds ~ (default 10)\n```\n\nIf you want to use multiple tokens, you better create a `.tokens` file in the executable directory with 1 token per line  \n```\ntoken1\ntoken2\n...\n```\nor use an environment variable with tokens separated by comma:  \n```\nexport GITHUB_TOKEN=token1,token2...\n```\n\nTokens are disabled when GitHub raises a rate limit alert, however they are re-enable 1mn later.\nYou can disable that feature by using the option `-k`.\n\n\u003cimg src=\"https://github.com/DEMON1A/github-subdomains/raw/master/preview.png\"\u003e\n\n## Todo\n\n- change the order of the extra searches ?\n- ?\n\n## Changelog\n\n**02/12/2024**\n- add a custom flag `-w` for how long should gh wait for github's api\n\n**20/09/2022**\n- fix regexp for subdomains\n\n**25/09/2020**\n- quick mode added\n- tokens can be read from any file\n\n**23/09/2020**\n- fixed an issue in the api call (params name)\n- added binary\n\n**12/08/2020**\n- improved clean function\n\n**06/08/2020**\n- max_page set forced to 10 to save 1 request for every search\n- new banner (easier to maintain)\n- removed `_` from the regexps\n- extended regexp fixed\n- improved cleaning function\n\n**05/08/2020**\n- added an option to exit the program when all tokens have been disabled instead of waiting\n- rate limited tokens are disabled for 1mn then re-enabled\n- removed options for languages and noise\n- better page management\n- panic errors handled\n\n**04/08/2020**\n- moved default languages and noise to source code\n- added an option for languages and noise\n- bug fixed in searches with language and noise (empty keyword)\n- added search signature to avoid duplicate searches with noise\n- file loading rewritten\n- preview image added\n\n**03/08/2020**\n- fixed delay changed 100 -\u003e 200\n- removed useless debug messages\n\n---\n\nFeel free to [open an issue](/../../issues/) if you have any problem with the script.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemon1a%2Fgithub-subdomains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemon1a%2Fgithub-subdomains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemon1a%2Fgithub-subdomains/lists"}