VPS 一键脚本
返回目录 / 教程 / unlock

VPS 流媒体解锁检测教程(含 IP 质量)

本教程说明如何用 xyz.sh/unlock 检测 VPS IP 的流媒体和 AI 服务可用性,以及 IP 是机房还是住宅。

命令
$ curl -fsSL xyz.sh/unlock | bash

说明 · xyz.sh/unlock · 最后更新:

适用条件

任意装有 bash 和 curl 的 Linux VPS,不需要 root。

步骤

可选:先阅读源码 curl -fsSL xyz.sh/unlock.sh,并核对 xyz.sh/unlock.sh.sha256。

默认检测(IPv4):curl -fsSL xyz.sh/unlock | bash

检测 IPv6:curl -fsSL xyz.sh/unlock | bash -s -- -6

输出 JSON 便于脚本处理:curl -fsSL xyz.sh/unlock | bash -s -- --json

更全面的检测:--full 运行 lmc999/RegionRestrictionCheck(需要终端交互),--ipquality 运行 xykt/IPQuality。

如何验证

每个服务显示 Yes / No / Originals only / Unknown 以及地区;IP 部分显示 ASN、组织、国家与类型(Datacenter / Residential / Mobile)。

如何撤销或卸载

无需卸载:脚本不安装任何东西,临时文件结束时自动删除。--full / --ipquality 运行的第三方脚本如果安装了依赖,请参考其项目说明。