{"id":13539927,"url":"https://github.com/yanxiu0614/subdomain3","last_synced_at":"2025-04-04T14:08:56.422Z","repository":{"id":47799087,"uuid":"82139258","full_name":"yanxiu0614/subdomain3","owner":"yanxiu0614","description":"A new generation of tool for discovering subdomains( ip , cdn and so on)","archived":false,"fork":false,"pushed_at":"2020-01-20T08:43:57.000Z","size":1601,"stargazers_count":711,"open_issues_count":11,"forks_count":151,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-28T13:10:23.802Z","etag":null,"topics":["brute","dns","python-3","python2","subdomain"],"latest_commit_sha":null,"homepage":"","language":"Python","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/yanxiu0614.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}},"created_at":"2017-02-16T04:30:36.000Z","updated_at":"2025-03-09T18:29:12.000Z","dependencies_parsed_at":"2022-09-11T09:22:26.003Z","dependency_job_id":null,"html_url":"https://github.com/yanxiu0614/subdomain3","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanxiu0614%2Fsubdomain3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanxiu0614%2Fsubdomain3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanxiu0614%2Fsubdomain3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanxiu0614%2Fsubdomain3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanxiu0614","download_url":"https://codeload.github.com/yanxiu0614/subdomain3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190252,"owners_count":20898702,"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":["brute","dns","python-3","python2","subdomain"],"created_at":"2024-08-01T09:01:34.424Z","updated_at":"2025-04-04T14:08:56.404Z","avatar_url":"https://github.com/yanxiu0614.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"a76463feb91d09b3d024fae798b92be6\"\u003e\u003c/a\u003e侦察\u0026\u0026信息收集\u0026\u0026子域名发现与枚举\u0026\u0026OSINT","Python","Python (1887)","\u003ca id=\"170048b7d8668c50681c0ab1e92c679a\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"e945721056c78a53003e01c3d2f3b8fe\"\u003e\u003c/a\u003e子域名枚举\u0026\u0026爆破"],"readme":"# Subdomain3\n\n![version](https://img.shields.io/badge/version-3.0-green.svg) ![stars](https://img.shields.io/github/stars/yanxiu0614/subdomain3.svg) ![forks](https://img.shields.io/github/forks/yanxiu0614/subdomain3.svg)  ![language](https://img.shields.io/badge/language-python2%2B-green.svg) ![language](https://img.shields.io/badge/language-python3%2B-green.svg)\n\n**README.md in [Chinese 中文](https://github.com/yanxiu0614/subdomain3/blob/master/README_ZH.md)**\n\n\n## Description\nSubdomain3 is a new generation of tool , It helps penetration testers to discover more information  in a shorter time than other tools.The  information includes subdomains, IP, CDN, and so on. Please enjoy it.\n\n## Screenshot\nmedium pattern for speed\n\n![](screenshot.png)\n\n## Features\n\n* More quick\n\nThree patterns for speed. User can modify the configuration(lib/config.py) file to speed-up.\n* CDN support\n\nDetermines whether the subdomain  uses CDN storage automatically,even though the dict of CDN severs not contain the cname suffix.\n* RFC CIDR\n\nSorting ip and report CIDR(example 1.1.1.1/24) that it not use CDN storage;\n* Multi-level subdomain support\n\nDiscover more subdomains,example:admin.test.xx.com\n* Big dict support\n\nMillion of subs support\n* Less resource consumption\n\n1 CPU/1GB Memory/1Mbps bandwidth\n* More intelligent\n\nDiscover the fastest nameserver;The strategy of dynamically adjusting of dict by importing subdomains from other sources;Prevent dns cache pollution;\n\n\n## Getting started\n\n```\ngit clone https://github.com/yanxiu0614/subdomain3.git\n\npip install -r requirement.txt\n\npython2/3 brutedns.py -d tagetdomain -s high -l 5\n```\n## Usage\n\nShort Form    | Long Form      | Description\n------------- | -------------  |-------------\n-d            | --domain       | target domain,for example: baidu.com\n-s            | --speed        | speed,three patterns:fast,medium,low\n-l            | --level        | example: 2:w.baidu.com; 3:w.w.baidu.com;\n-f            | --file         | The list of target domain\n-c            | --cname        | n or y,collect cnames\n-ns           | --default_dns  | n or y\n-f1           | --sub_file     | sub dict\n-f2           | --next_sub_file| next sub dict\n-f3           | --other_file   | subdomain log from search engine\n\n## License\nThe MIT License(http://opensource.org/licenses/MIT)\n\nPlease feel free to use and contribute to the development.\n\n## Thanks:\n\n- \u003ca href=\"https://github.com/smarttang\" target=\"view_window\"\u003esmarttang(Tangyucong)\u003c/a\u003e\n- \u003ca href=\"https://security.yirendai.com/\" target=\"view_window\"\u003eYirendai security department\u003c/a\u003e\n\n\n## Changelog:\n- 2020-01-20: Optimize memory usage and strategy,Fixed bug e.g\n\n- 2019-09-22: New strategy to prevent dns cache pollution;Optimize the  processes,Fixed bug e.g\n\n- 2019-09-17: Automatically discover the fastest nameserver support;Determines whether the subdomain  uses CDN storage automatically support;Improve the speed;Optimize the  processes,Fix bug e.g\n\n- 2018-11-6: Improve the speed;Optimize the  processes;\n\n- 2018-10-6: Api support,import brutedns_api and you will get the number of results in the end;Optimized the deduplication strategy;\n\n- 2018-2-14: Fix issue(TypeError: argument of type 'NoneType' is not iterable)\n\n- 2018-1-9: CDN PLAN;Add opthon oc collecting cname (-c --cdn  t/f)\n\n- 2017-11-11: Import subdomains from other sources support（You should create a new file of target_domain.log, and put it with 'brutedns.py' in the same directory），it will improve the accuracy；it is more convenient for use API；\n\n- 2017-10-26: Optimize the  processes;Fix bug;\n\n- 2017-10-11:Rebuild part of the program; Api support; Result is more readable;Update cdn-severs；faster\n\n- 2017-6-17: Delete universal parse opthon(-p t/f);Add a file of config;Optimze strategy for universal parse\n\n- 2017-5-2: Add a module(validate the domain),please modify \"result_name\" in the validate_domain.py if you will use it;fix universal bug;update cdn-servers,etc\n\n- 2017-4-21: Optimze strategy for generating subname，Improve the speed\n\n- 2017-3-23: Add universal parse opthon(-p t/f)\n\n- 2017-3-17: Big dict support(for example: two million)\n\n- 2017-3-10: Read several domains from file support(-f domains) support;Update cdn-servers\n\n- 2017-2-26: Multilevel domain support(no upper limit);Big dict support;Take up about a third to a quarter as much memory;Faster\n\n- 2017-2-24: Mac support\n\n\n\n\n\u0026copy;\u003ca href=\"https://github.com/monsterzer0\" target=\"_blank\"\u003eMonster Zero Team\u003c/a\u003e  2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanxiu0614%2Fsubdomain3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanxiu0614%2Fsubdomain3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanxiu0614%2Fsubdomain3/lists"}