oureveryday / PikPakBypass

跳过PikPak区域限制
47 stars 2 forks source link

Pikpak Windows 桌面端 跳过区域限制方法

taskkill /f /im upnp.exe
taskkill /f /im FileHelper.exe
taskkill /f /im DownloadServer.exe
taskkill /f /im PikPak.exe
rd /S /Q %public%\PikPak
rd /S /Q %appdata%\PikPak

方法 (版本 V2.5.6.4831)(可能适用于以后版本)

  1. 打开 Pikpak\resources\app\out\main-renderer\main.xxxxxxxx.js (xxxxxxxx为随机二进制数,如b9ceb61b)
  2. 搜索1 (跳过区域检测):

(`https://access.${e}/access_controller/v1/area_accessible`,{withCredentials:!1,withCaptcha:!1})

替换1:

(console.log("Bypassing area check..."))

搜索2 (目前已失效,请直接使用我的邀请码在兑换码处兑换7天:87359474,或者注册2个账号互相兑换,需使用outlook邮箱)(VSCode正则替换):

\(0,([A-Za-z0-9]+\.[A-Za-z0-9]+)\)\(`\$\{([A-Za-z0-9]+\.[A-Za-z0-9]+)\}/activity/invite`,\{method:"POST",body:\{source:([A-Za-z0-9]+\.[A-Za-z0-9]+)\.get\(\)\.source,apk_extra:\{invite_code:[A-Za-z0-9]+\.[A-Za-z0-9]+\.get\([A-Za-z0-9]+\.[A-Za-z0-9]+\.SPREAD_ID\)\|\|""\},tf:[A-Za-z0-9]+\.[A-Za-z0-9]+\.get\(\)\.source,rf:[A-Za-z0-9]+\.[A-Za-z0-9]+\.get\(\)\.join\(\)\|\|void 0\},withCredentials:!0\}\)

替换2:

{(0,$1)(`${$2}/activity/rewardVip`,{method:"POST",body:{type:"install_web_pikpak_extension"},withCredentials:!0,});(0,$1)(`${$2}/activity/rewardVip`,{method:"POST",body:{type:"upload_file"},withCredentials:!0,});(0,$1)(`${$2}/activity/invite`,{method:"POST",body:{source:$3.get().source,tf:$3.get().source},withCredentials:!0,})}

搜索3 (替换最大同时下载数1,太大无作用)(VSCode正则替换):

,(.)=5,

替换3:

,$1=10,

3.保存文件并运行Clear.bat