{"id":13845142,"url":"https://github.com/AabyssZG/Web-SurvivalScan","last_synced_at":"2025-07-12T01:31:46.939Z","repository":{"id":152204983,"uuid":"622848191","full_name":"AabyssZG/Web-SurvivalScan","owner":"AabyssZG","description":"对Web渗透项目资产进行快速存活验证","archived":false,"fork":false,"pushed_at":"2024-12-09T14:18:45.000Z","size":2052,"stargazers_count":491,"open_issues_count":0,"forks_count":36,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-23T01:06:41.701Z","etag":null,"topics":["scanner-web","survival","web"],"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/AabyssZG.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-03T07:29:49.000Z","updated_at":"2025-05-21T13:58:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6cecbac-f907-4038-ae2f-6f73452e17fe","html_url":"https://github.com/AabyssZG/Web-SurvivalScan","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/AabyssZG/Web-SurvivalScan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FWeb-SurvivalScan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FWeb-SurvivalScan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FWeb-SurvivalScan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FWeb-SurvivalScan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AabyssZG","download_url":"https://codeload.github.com/AabyssZG/Web-SurvivalScan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FWeb-SurvivalScan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923080,"owners_count":23683716,"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":["scanner-web","survival","web"],"created_at":"2024-08-04T17:03:14.292Z","updated_at":"2025-07-12T01:31:45.721Z","avatar_url":"https://github.com/AabyssZG.png","language":"Python","readme":"![Web-SurvivalScan](https://socialify.git.ci/AabyssZG/Web-SurvivalScan/image?description=1\u0026descriptionEditable=Rapid%20Survival%20Verification%20of%20Web%20Penetration%20Project%20Assets\u0026font=Jost\u0026forks=1\u0026issues=1\u0026language=1\u0026name=1\u0026owner=1\u0026pattern=Solid\u0026stargazers=1\u0026theme=Dark)\n\n**By 曾哥(AabyssZG) \u0026\u0026 jingyuexing**\n\n\n## ✈️ 一、工具概述\n\n在日常工作的渗透测试过程中，经常会碰到渗透测试项目，而Web渗透测试通常是渗透项目的重点或者切入口\n\n通常拿到正规项目授权后，会给你一个IP资产列表和对应的Web资产地址，这时候就需要我们进行快速存活验证\n\n![资产列表](/img/资产列表.png)\n\n如图，这个项目给了一万多个IP，并列出了对应的Web资产地址，这个时候就需要快速验证资产存活\n\n网上找了一圈，都没什么好用的工具。于是，就写了这个Web资产存活检测小工具：Web-SurvivalScan  \n\n**如果这个工具帮助到了你，欢迎赏个Star~哈哈**\n\n\n## 📝 二、TODO\n\n* [x] 修复网页Title为空导致报错的Bug\n* [x] 支持批量访问固定路径（验证简单漏洞的时候巨有效）\n* [x] 支持在导出HTML界面里面显示标题，更方便确认资产信息\n* [x] 支持对HTTP代理进行校验，检验代理可用性\n* [x] 支持使用HTTP/HTTPS代理所有流量，并可以使用HTTP认证\n* [x] 支持将 `:443` 自动识别转换为 `https://`\n* [x] 支持读取多种编码格式的TXT（ANSI和UTF-8均支持）\n* [x] 支持导出HTML文件，方便资产的可视化整理\n* [x] 多线程扫描，1万条Web资产实测20分钟左右跑完\n* [x] 存活验证时使用随机User-Agent请求头\n* [x] 解决目标SSL证书问题 (自签名证书请改成 `http://` 即可)\n* [x] 智能识别目标地址 (`example.com` 和`http://example.com:8080` 以及`http://example.com` 都不会报错)\n\n\n## 🚨 三、安装Python依赖库\n\n```\npip3 install -r requirements.txt\n```\n\n\n## 🐉 四、工具使用\n\n首先，需要将目标Web资产批量复制到TXT内，并将该TXT放到本脚本同目录，如下图：\n\n![TXT](/img/TXT.png)\n\n**注：本脚本能智能识别目标地址 (`example.com` 和`http://example.com:8080` 以及`http://example.com` 都不会报错)**\n\n```\n# python3 Web-SurvivalScan.py\n\n              ╦ ╦┌─┐┌┐\n              ║║║├┤ ├┴┐\n              ╚╩╝└─┘└─┘\n╔═╗┬ ┬┬─┐┬  ┬┬┬  ┬┌─┐┬  ╔═╗┌─┐┌─┐┌┐┌\n╚═╗│ │├┬┘└┐┌┘│└┐┌┘├─┤│  ╚═╗│  ├─┤│││\n╚═╝└─┘┴└─ └┘ ┴ └┘ ┴ ┴┴─┘╚═╝└─┘┴ ┴┘└┘\n             Version: 1.11\nAuthor: 曾哥(@AabyssZG) \u0026\u0026 jingyuexing\n Whoami: https://github.com/AabyssZG\n\n请输入目标TXT文件名\nFileName \u003e\u003e\u003e 【TXT文件名】\n请输入需要访问的路径（无则回车）\nDirName \u003e\u003e\u003e 【需要批量访问的路径】\n请输入代理IP和端口（无则回车）\nProxy \u003e\u003e\u003e 【HTTP认证账号:HTTP认证密码@代理IP:端口】\nProxy \u003e\u003e\u003e 【代理IP:端口（没有HTTP认证的情况下）】\n```\n\n![Run](/img/Run.png)\n\n跑完后，即可拿到导出的两个文件：`output.txt` 和 `outerror.txt`\n\n- `output.txt`：导出验证存活成功（状态码200）的Web资产\n- `outerror.txt`：导出其他状态码的Web资产，方便后期排查遗漏和寻找其他脆弱点\n- `.data/report.json`：所有资产的运行数据，按JSON格式导出，方便处理\n- `report.html`：将所有资产进行HTML可视化导出，方便整理\n\n![HTML](/img/HTML-Out.png)\n\n\n## 五，感谢各位师傅\n\n### Stargazers\n\n[![Stargazers repo roster for @AabyssZG/Web-SurvivalScan](http://reporoster.com/stars/AabyssZG/Web-SurvivalScan)](https://github.com/AabyssZG/Web-SurvivalScan/stargazers)\n\n\n### Forkers\n\n[![Forkers repo roster for @AabyssZG/Web-SurvivalScan](http://reporoster.com/forks/AabyssZG/Web-SurvivalScan)](https://github.com/AabyssZG/Web-SurvivalScan/network/members)\n\n\n### Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=AabyssZG/Web-SurvivalScan\u0026type=Date)](https://star-history.com/#AabyssZG/Web-SurvivalScan\u0026Date)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAabyssZG%2FWeb-SurvivalScan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAabyssZG%2FWeb-SurvivalScan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAabyssZG%2FWeb-SurvivalScan/lists"}