{"id":13539724,"url":"https://github.com/boy-hack/w8fuckcdn","last_synced_at":"2025-08-08T07:18:48.086Z","repository":{"id":54471757,"uuid":"134273760","full_name":"boy-hack/w8fuckcdn","owner":"boy-hack","description":"Get website IP address by scanning the entire net  通过扫描全网绕过CDN获取网站IP地址","archived":false,"fork":false,"pushed_at":"2023-12-20T07:00:57.000Z","size":974,"stargazers_count":768,"open_issues_count":6,"forks_count":184,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-12T13:15:43.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/boy-hack.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}},"created_at":"2018-05-21T13:34:47.000Z","updated_at":"2025-04-04T10:23:37.000Z","dependencies_parsed_at":"2024-08-01T09:23:31.349Z","dependency_job_id":"9e3891b1-65b7-49f4-a7e0-7957e6fee919","html_url":"https://github.com/boy-hack/w8fuckcdn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boy-hack/w8fuckcdn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fw8fuckcdn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fw8fuckcdn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fw8fuckcdn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fw8fuckcdn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boy-hack","download_url":"https://codeload.github.com/boy-hack/w8fuckcdn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fw8fuckcdn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269381035,"owners_count":24407747,"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-08T02:00:09.200Z","response_time":72,"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":[],"created_at":"2024-08-01T09:01:30.949Z","updated_at":"2025-08-08T07:18:48.035Z","avatar_url":"https://github.com/boy-hack.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"8f92ead9997a4b68d06a9acf9b01ef63\"\u003e\u003c/a\u003e扫描器\u0026\u0026安全扫描\u0026\u0026App扫描\u0026\u0026漏洞扫描","Python","\u003ca id=\"132036452bfacf61471e3ea0b7bf7a55\"\u003e\u003c/a\u003e工具","Python (1887)"],"sub_categories":["\u003ca id=\"de63a029bda6a7e429af272f291bb769\"\u003e\u003c/a\u003e未分类-Scanner"],"readme":"# w8Fuckcdn\n\u003e 通过扫描全网绕过CDN获取网站IP地址\n\n## 使用\n- target.log 配置扫描的IP段\n- config.py 设置要查找的文本、网站域名以及配置是否进行HTTPS扫描支持\n- 运行 `python fuckcdn.py` \n\n## 程序流程\n基于masscan扫描IP端中开放的80端口，程序自动连接每个IP测试，筛选出符合条件的ip保存到result.txt  \n程序提供\"基于扫描子域名获取IP段\"的方法来尽可能减少IP段范围  \n- usage: `python get_ips.py -d baidu.com`\n- 当然，可以自己搜索相关域名，使用`python get_ips.py -f target.txt --ips`来生成IP段\n\n## 特性\n1. 支持winodws/linux\n2. gevent 协程IO 最大化利用资源\n3. masscan扫描，最快能6分钟扫完全网\n4. 支持HTTPS\n5. 支持调节masscan的rate(速率)\n\n## 安装环境\n- python 2.7\n- pip install gevent dnspython\n- Windows需要安装WinPcap\n\n## 问题\u0026答案\n1. 如果发现masscan运行出错请编译masscan\n2. 如果第一次扫描发现了大量IP可以将IP放到target.log进行第二次扫描并重新设置关键字\n3. 究竟是运行get_ips.py还是fuckcdn.py?两个脚本之间的关系?\n    - [https://github.com/boy-hack/w8fuckcdn/issues/1](https://github.com/boy-hack/w8fuckcdn/issues/1)\n\n\n## Thanks\n- [https://github.com/ysrc/xunfeng](https://github.com/ysrc/xunfeng) 中提供的编译好的masscan\n- [https://github.com/Tai7sy/fuckcdn](https://github.com/Tai7sy/fuckcdn) 思路\n- 子域名爆破使用 [https://github.com/lijiejie/subDomainsBrute](https://github.com/lijiejie/subDomainsBrute)\n- 基于子域名查找IP段 [https://github.com/superfish9/hackcdn](https://github.com/superfish9/hackcdn)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboy-hack%2Fw8fuckcdn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboy-hack%2Fw8fuckcdn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboy-hack%2Fw8fuckcdn/lists"}