Coder Social home page Coder Social logo

eb1-script's Introduction

eb1-script


说明:此法来源于:

https://neko.re/archives/208.html

1.打开 shadowrocket APP -> 配置 -> default.conf -> 编辑纯文本



2. 在最下面添加如下文本并保存
脚本1:

[Script]
unlock_emby = type=http-response,script-path=https://raw.githubusercontent.com/godx999/eb1-script/master/unlock_emby.js,pattern=^http(s?):\/\/(www\.|)mb3admin\.com\/.*$,max-size=131072,requires-body=true,timeout=10,debug=false,enable=true
[MITM]
hostname = mb3admin.com,www.mb3admin.com


脚本2:

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

[MITM] hostname = mb3admin.com


脚本2若打不开,则换备用地址:

[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


输完点保存后,再次点击 default.conf -> 编辑配置 -> 开启 HTTPS 解密 -> 生成新的 CA 证书 -> 安装 CA 证书 -> 同意安装描述文件



4. 然后去手机设置 -> 点右边的描述文件已下载 -> 查看描述文件 ->安装



5. 然后返回 ShadowRocket,首页的全局路由选择为配置(根据配置文件转发流量),再开启即可。
6. 尝试访问 Emby,这时会有证书接受提示,点击接受即可。



7. 然后设置页面会有小金标提示.
在Emby Premiere 随意输入密钥点确定,也会有“你有一个 Lifetime Emby Premiere 订阅,你的设备使用在最大数量限制之内”的提示。


eb1-script's People

Contributors

nikleechan avatar godx999 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.