# 使用 Shadowrocket 破解

如果你有著名的翻墙软件 [Shadowrocket](https://apps.apple.com/app/shadowrocket/id932747118) ( 小火箭 ) 且版本号大于 v2.1.62 ，那就可以用来破解 Emby 的 iOS 官方客户端。

下面我使用**全新安装** ( 也就是**默认配置** ) 的 Shadowrocket 来教大家如何破解 Emby。

## 配置 Shadowrocket <a href="#pei-zhi-shadowrocket" id="pei-zhi-shadowrocket"></a>

打开 Shadowrocket ，选择下面的 **配置** ，再点击中间的本地配置文件 **default.conf**

![](/files/-MchWTmFK7ptv-4e-uvV)

在弹出菜单中选择 **编辑纯文本**

![](/files/-MchWbxsBDaAI_I3PLyd)

把配置文件拖到最底部

![](/files/-MchWk0mL44rmzdBHsHf)

```
[Script]
EmbyPremiere = type=http-response,script-path=https://raw.githubusercontent.com/rartv/SurgeScript/main/EmbyPremiere/EmbyPremiere.js,pattern=^https?:\/\/mb3admin.com\/admin\/service\/registration\/validateDevice,max-size=131072,requires-body=true,timeout=10,enable=true

[MITM]
hostname = mb3admin.com
```

复制上面的配置填写到红框空白处

由于破解脚本是放到 github 的，有的人网络不行，github 被污染，所以脚本可能没获取到，这会导致破解失败！

**这时请使用下面的备用脚本**

```
[Script]
EmbyPremiere = type=http-response,script-path=https://gitlab.com/iptv-org/embypublic/-/raw/master/Script/EmbyPremiere.js,pattern=^https?:\/\/mb3admin.com\/admin\/service\/registration\/validateDevice,max-size=131072,requires-body=true,timeout=10,enable=true

[MITM]
hostname = mb3admin.com
```

然后点击右上角 **保存**

![](/files/-MchXKXM4l1N89t8ty6A)

再点击中间的本地配置文件 **default.conf，**&#x9009;择 **编辑配置**

![](/files/-MchXWNyiDMo_vNL1TN3)

点击 HTTPS 解密

![](/files/-MchXepJVQSOE560EwYX)

&#x20;打开 **HTTPS 解密** 的开关

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-01.48.13.png)

点击 **生成新的 CA 证书**

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-01.50.13.png)

证书生成后还需要 **安装证书**

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-01.51.59.png)

证书下载到设置里后点击 **已下载描述文件**

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-01.55.25.png)

点击右上角 **安装**

![](https://embywiki.911997.xyz/.gitbook/assets/img_c6f10bb114f9-1.jpeg)

在手机 **设置 -> 通用 -> 关于本机 -> 证书信任设置**，找到刚才安装的 Shadowrocket 证书，将其开关打开

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-02.00.45.png)

回到 Shadowrocket ，上面显示 **系统已信任** ，说明我们正确安装并让系统信任我们的了证书，点右上角&#x7684;**√** 保存

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-02.02.55.png)

回到 HTTPS 解密页面继续点右上角的 **√** 保存

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-02.05.19.png)

回到 Shadowrocket 首页，点击上面的开关启动

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-02.08.06.png)

首次启动 Shadowrocket 会像系统添加 VPN 配置，点击 **允许**

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-02.09.08.png)

## **破解 Emby 客户端** <a href="#po-jie-emby-ke-hu-duan" id="po-jie-emby-ke-hu-duan"></a>

打开 Emby 客户端，随便找一部影片来播放，当收到 Shadowrocket 的通知，提示 **Emby Premiere 已激活**时，说明我们已经破解成功了。由于有效期有 **999** 天，所以以后即使在没有开 Shadowrocket 的情况下，Emby 依然可以直接播放。如你删掉 Emby 客户端重新安装或者切换到其他 Emby 服务器后，才需要再次开 Shadowrocket 来破解。

![](https://embywiki.911997.xyz/.gitbook/assets/ishot2020-12-07-02.17.35.png)

是不是很爽？

![](https://embywiki.911997.xyz/.gitbook/assets/img_3419.png)

## iPad <a href="#ipad" id="ipad"></a>

以上方法虽用 iPhone 演示，但同样支持 iPad

![](https://embywiki.911997.xyz/.gitbook/assets/img_0232.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://embywiki.feverss.cloud/use-on-various-devices/use-on-ios/use-official-client/shi-yong-shadowrocket-po-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
