{"id":13775761,"url":"https://github.com/netxfly/xsec-proxy-scanner","last_synced_at":"2025-05-07T15:23:38.500Z","repository":{"id":81774529,"uuid":"113258761","full_name":"netxfly/xsec-proxy-scanner","owner":"netxfly","description":"xsec-proxy-scanner是一款速度超快、小巧的代理扫描器","archived":false,"fork":false,"pushed_at":"2017-12-07T15:36:01.000Z","size":11,"stargazers_count":274,"open_issues_count":0,"forks_count":60,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-31T11:22:11.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/netxfly.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}},"created_at":"2017-12-06T02:34:38.000Z","updated_at":"2025-03-24T14:23:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab7c8d7d-22f0-4c3e-b033-37ef52e3f5f4","html_url":"https://github.com/netxfly/xsec-proxy-scanner","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/netxfly%2Fxsec-proxy-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fxsec-proxy-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fxsec-proxy-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fxsec-proxy-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netxfly","download_url":"https://codeload.github.com/netxfly/xsec-proxy-scanner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252903363,"owners_count":21822430,"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":[],"created_at":"2024-08-03T17:01:48.775Z","updated_at":"2025-05-07T15:23:38.480Z","avatar_url":"https://github.com/netxfly.png","language":"Go","readme":"## xsec-proxy-scanner\n### 概述\nxsec-proxy-scanner是一款速度超快、小巧的代理服务器扫描器，使用场景为：\n\n1. 定期扫描自已公司服务器，排查是否有外网服务器开启了代理服务；\n1. 扫描公网中的代理服务器（搞成分布式的，也可以卖代理了）\n\n支持的协议有：\n1. http\n1. https\n1. socks4\n1. socks4a\n1. socks5\n\n### 使用说明\n\n```bash\n$ ./proxy_scanner\nNAME:\n   xsec proxy scanner - A SOCKS4/SOCKS4a/SOCKS5/HTTP/HTTPS proxy scanner\n\nUSAGE:\n   proxy_scanner [global options] command [command options] [arguments...]\n\nVERSION:\n   20171205\n\nAUTHOR(S):\n   netxfly \u003cx@xsec.io\u003e\n\nCOMMANDS:\n     scan     start to scan proxy\n     dump     dump proxies to a text file\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --debug, -d                 debug mode\n   --scan_num value, -n value  scan num (default: 1000)\n   --timeout value, -t value   timeout (default: 5)\n   --filename value, -f value  filename (default: \"iplist.txt\")\n   --dumpfile value, -o value  filename (default: \"xsec_proxies.txt\")\n   --help, -h                  show help\n   --version, -v               print the version\n```\n### 参数说明\n\n1. scan参数表示开始扫描，扫描结束后会将结果保存到当前目录的`xsec_proxies.db`和`xsec_proxies.txt`文件中，db是数据库文件，txt是文本结果；\n1. dump表示将指定DB文件中的结果导出为文本文件。\n1. 以下为可选参数：\n    - --debug，表示是否启用debug模式，看到具体的扫描过程； \n    - --scan_num，表示每次扫描的服务器数量，默认为1000；\n    - --timeout，表示每个扫描请求的超时时间，默认为5秒；\n    - --filename，表示要扫描的iplist的文件名，默认为当前目录下的iplist.txt文件\n    - dumpfile，表示在使用dump参数时，导出的文本文件名\n\n### 运行截图\n\n![](https://docs.xsec.io/images/xsec_proxy_scanner.png)\n\n从上图中看出，timeout参数调得过短会存在漏报现象，需要根据网络情况合理调整timeout参数。\n\n编译好的二进制版本下载地址[https://github.com/netxfly/xsec-proxy-scanner/releases](https://github.com/netxfly/xsec-proxy-scanner/releases)\n","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具","Go","Go (531)"],"sub_categories":["\u003ca id=\"0ff94312f3ab4898f5996725133ea9d1\"\u003e\u003c/a\u003e未分类"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetxfly%2Fxsec-proxy-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetxfly%2Fxsec-proxy-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetxfly%2Fxsec-proxy-scanner/lists"}