Open dianaasoul opened 6 months ago
ios上可以通过替换https://app.bilibili.com/bilibili.app.playerunite.v1.Player/PlayViewUnite的请求头来实现共享会员账号,具体脚本如下:
^https?:\/\/((app|api).(\w{2,15})?.(com|cn)).player..(v3|v2|v1).Play(URL|View|er).*$ url script-request-header BilibiliProCrack.js
[mitm]
hostname=app.bilibili.com, grpc.biliapi.net,.biliapi.net,app.bilibili.com,api.bilibili.com,api.live.bilibili.com,api.vc.bilibili.com,dataflow.biliapi.com,124.239.240.,101.89.57.66, 218.94.210.66,240e:b1:9801:206:11:0:0:*
***/
var modifiedHeaders = $request['headers']; modifiedHeaders['Cookie'] = ''; modifiedHeaders['x-bili-device-bin'] = ''; modifiedHeaders['Authorization'] = ''; modifiedHeaders['User-Agent'] = ''; modifiedHeaders['buvid'] = ''; modifiedHeaders['x-bili-metadata-bin'] = ''; modifiedHeaders['x-bili-locale-bin'] = ''; modifiedHeaders['x-bili-network-bin'] = ''; modifiedHeaders['x-bili-fawkes-req-bin'] = ''; modifiedHeaders['x-bili-trace-id'] = ''; $done({'headers': modifiedHeaders});
由于Android TV难以root,以及android app本身可以不信任系统根证书的特性,使得安卓平台mitm很难实现,所以想咨询您是否可以将此功能集成到app里,如果违反您的初心,还请见谅
ios上可以通过替换https://app.bilibili.com/bilibili.app.playerunite.v1.Player/PlayViewUnite的请求头来实现共享会员账号,具体脚本如下:
~ Bilibili大会员(2024-01-14)@ddgksf2013
^https?:\/\/((app|api).(\w{2,15})?.(com|cn)).player..(v3|v2|v1).Play(URL|View|er).*$ url script-request-header BilibiliProCrack.js
[mitm]
hostname=app.bilibili.com, grpc.biliapi.net,.biliapi.net,app.bilibili.com,api.bilibili.com,api.live.bilibili.com,api.vc.bilibili.com,dataflow.biliapi.com,124.239.240.,101.89.57.66, 218.94.210.66,240e:b1:9801:206:11:0:0:*
***/
var modifiedHeaders = $request['headers']; modifiedHeaders['Cookie'] = ''; modifiedHeaders['x-bili-device-bin'] = ''; modifiedHeaders['Authorization'] = ''; modifiedHeaders['User-Agent'] = ''; modifiedHeaders['buvid'] = ''; modifiedHeaders['x-bili-metadata-bin'] = ''; modifiedHeaders['x-bili-locale-bin'] = ''; modifiedHeaders['x-bili-network-bin'] = ''; modifiedHeaders['x-bili-fawkes-req-bin'] = ''; modifiedHeaders['x-bili-trace-id'] = ''; $done({'headers': modifiedHeaders});
由于Android TV难以root,以及android app本身可以不信任系统根证书的特性,使得安卓平台mitm很难实现,所以想咨询您是否可以将此功能集成到app里,如果违反您的初心,还请见谅