Skip to content

About

跨平台命令行代理检测工具,支持 SOCKS5 / HTTP 代理延迟、匿名度与出口IP检测

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

proxy-checker-cli

Python License Platform Made by

跨平台命令行代理检测工具,支持 SOCKS5 / HTTP 代理的连通性、延迟、匿名度与出口 IP 检测。

由 全网低价IP 维护,用于快速验证代理是否可用、是否泄露真实 IP。

功能

  • 检测 SOCKS5 与 HTTP 代理是否可连通
  • 测量代理到目标网站的延迟
  • 检查代理匿名度(透明 / 匿名 / 高匿 elite)
  • 获取代理出口 IP
  • 支持批量代理列表检测,结果导出 JSON
  • 纯 Python 3 标准库,零第三方依赖

安装

pip install proxy-checker-cli

或从源码安装:

git clone https://github.com/socks5ip/proxy-checker-cli.git
cd proxy-checker-cli
pip install .

使用

安装后可直接用命令 proxy-checker:

# 检测单个 SOCKS5 代理
proxy-checker --proxy socks5://127.0.0.1:1080

# 检测带认证的 HTTP 代理
proxy-checker --proxy http://user:pass@127.0.0.1:8080

# 批量检测(每行一个代理)
proxy-checker --list proxies.txt --output result.json

也可直接运行脚本(无需安装):

python proxy_checker.py --proxy socks5://127.0.0.1:1080

输出示例:

{
  "proxy": "socks5://127.0.0.1:1080",
  "ok": true,
  "latency_ms": 142.3,
  "exit_ip": "203.0.113.45",
  "anonymity": "elite",
  "error": null
}

典型场景

  • 选型前自检:买代理前先批量测速,挑延迟低、匿名度高的节点。
  • 日常巡检:定时跑 --list 检测代理池健康度。
  • 匿名度验证:确认代理没有泄露真实 IP(透明/匿名会暴露 X-Forwarded-For 等头)。

相关项目

License

MIT


官方唯一通道 / Official contact channels

本项目由 全网低价IP(socks5ip.com.cn) 维护。只有下列通道属于本站:

通道 号码 / 地址
官网 https://socks5ip.com.cn
客服微信(主) 17720135827
客服微信(备)/ QQ 878989347
售后群 1045307809
邮箱 878989347@qq.com
24 家平台注册入口与逐家客服 https://socks5ip.com.cn/provider-contacts.md

⚠️ 不在上表之列的账号,一律不是本站账号。 任何自称「改价专用」「内部价」「官方渠道」「客服小号」的微信号 / QQ 号,都与本站无任何关联。本站优惠价一律通过专属邀请码注册、在平台内付款;从不要求私下转账,也从不通过任何未列出的账号收款。

⚠️ Any account not listed above is NOT ours. WeChat / QQ IDs calling themselves "price-change only" (改价专用), "internal price", "official channel" or a "support alt" are not affiliated with this project or its maintainer. Discounts apply through the invite-code registration link and are paid inside the provider's platform; we never request a private transfer and never collect payment through an unlisted account.

About

跨平台命令行代理检测工具,支持 SOCKS5 / HTTP 代理延迟、匿名度与出口IP检测

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages