{"id":13539926,"url":"https://github.com/feeicn/esd","last_synced_at":"2026-01-14T08:29:11.532Z","repository":{"id":47211160,"uuid":"123098209","full_name":"FeeiCN/ESD","owner":"FeeiCN","description":"Enumeration sub domains(枚举子域名)","archived":true,"fork":false,"pushed_at":"2021-12-01T12:09:42.000Z","size":4980,"stargazers_count":1061,"open_issues_count":11,"forks_count":162,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-25T07:37:30.479Z","etag":null,"topics":["brute-force","security-scanner","security-tools","subdomain-brute","subdomain-scanner"],"latest_commit_sha":null,"homepage":"https://yuque.com/esd","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FeeiCN.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":"2018-02-27T08:34:40.000Z","updated_at":"2025-03-04T14:55:33.000Z","dependencies_parsed_at":"2022-09-19T06:01:05.291Z","dependency_job_id":null,"html_url":"https://github.com/FeeiCN/ESD","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/FeeiCN%2FESD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeeiCN%2FESD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeeiCN%2FESD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeeiCN%2FESD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FeeiCN","download_url":"https://codeload.github.com/FeeiCN/ESD/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246768303,"owners_count":20830645,"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-force","security-scanner","security-tools","subdomain-brute","subdomain-scanner"],"created_at":"2024-08-01T09:01:34.397Z","updated_at":"2026-01-14T08:29:11.493Z","avatar_url":"https://github.com/FeeiCN.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"a76463feb91d09b3d024fae798b92be6\"\u003e\u003c/a\u003e侦察\u0026\u0026信息收集\u0026\u0026子域名发现与枚举\u0026\u0026OSINT","\u003ca id=\"170048b7d8668c50681c0ab1e92c679a\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"e945721056c78a53003e01c3d2f3b8fe\"\u003e\u003c/a\u003e子域名枚举\u0026\u0026爆破"],"readme":"# ESD(Enumeration Sub Domain)\n\n[![PyPI](https://img.shields.io/pypi/v/ESD.svg)](https://pypi.org/project/ESD/)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ESD.svg)\n![license](https://img.shields.io/github/license/FeeiCN/ESD.svg)\n\n[![asciicast](https://asciinema.org/a/15WhUe40eEhSbwAXZdf2RQdq9.png)](https://asciinema.org/a/15WhUe40eEhSbwAXZdf2RQdq9)\n\n## 优势\n#### 支持泛解析域名\n\u003e 基于`RSC`（响应相似度对比）技术对泛解析域名进行枚举（受网络质量、网站带宽等影响，速度会比较慢）\n\n基于`aioHTTP`获取一个不存在子域名的响应内容，并将其和字典子域名响应进行相似度比对。\n超过阈值则说明是同个页面，否则则为可用子域名，并对最终子域名再次进行响应相似度对比。\n\n#### 更快的速度\n\u003e 基于`AsyncIO`异步协程技术对域名进行枚举（受网络和DNS服务器影响会导致扫描速度小幅波动，基本在250秒以内）\n\n基于`AsyncIO`+`aioDNS`将比传统多进程/多线程/gevent模式快50%以上。\n通过扫描`qq.com`，共`661593`条规则，找到`3442`个域名，耗时`15`分钟左右。\n\n更新于2021年9月，经实测多个DNS Server做了请求数限制，大并发下存在大量连接超时和异常导致遗漏情况大幅增加，目前通过限制DNS服务器以及并发数来解决，因此建议不要过于追求速度，通过设计更合理的触发时间来解决速度变慢问题。\n\n#### 更全的字典\n\u003e 融合各类字典，去重后共620328条子域名字典\n\n- 通用字典\n- 域名解析商公布使用最多的子域名\n- 其它域名爆破工具字典\n\n#### 更多的收集渠道\n- [X] 收集DNSPod接口泄露的子域名\n- [X] 收集页面响应内容中出现的子域名\n- [X] 收集跳转过程中的子域名\n- [X] 收集HTTPS证书透明度子域名\n- [X] 收集DNS域传送子域名\n\n#### DNS服务器\n- 解决各家DNS服务商对于网络线路出口判定不一致问题\n- 解决各家DNS服务商缓存时间不一致问题\n- 解决随机DNS问题，比如fliggy.com、plu.cn等\n- 根据网络情况自动剔除无效DNS，提高枚举成功率\n\n## 使用\n\n```bash\n# 安装\npip install esd\n```\n\n**CLI命令行使用**\n```bash\n# 扫描单个域名\nesd -d qq.com\n```\n\n**程序调用**\n```python\nfrom ESD import EnumSubDomain\ndomains = EnumSubDomain('feei.cn').run()\n```\n\n## 文档\n- https://yuque.com/esd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeeicn%2Fesd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeeicn%2Fesd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeeicn%2Fesd/lists"}