BT7.7.0开心版,无后门2024最新方法

712次阅读
没有评论

1. 安装原版 7.7.0
curl -sSO https://api.337.plus/soft/bt7.7.0/install_panel.sh && bash install_panel.sh

2. 去后门或开心版 (二选一)
2.1 手动运行去后门 wget -O optimize.sh https://api.337.plus/soft/bt7.7.0/optimize.sh && bash optimize.sh,运行后除 2.2 不需执行外,余下的全部走一步。2.2 自动开心 + 去后门,二选一,运行这个命令后下面的命令无需运行:wget -O patch.sh https://api.337.plus/soft/bt7.7.0/patch.sh && bash patch.sh

3. 手动解锁宝塔所有付费插件为永不过期
文件路径:/www/server/panel/data/plugin.json 如果提示不存在: wget -O /www/server/panel/data/plugin.json https://api.337.plus/soft/bt7.7.0/plugin.json
搜索字符串:"endtime": - 1 全部替换为 "endtime": 8999999999
sed -i "s/\"endtime\": -1/\"endtime\": 8999999999/g" /www/server/panel/data/plugin.json

4. 给 plugin.json 文件上锁防止自动修复为免费版
chattr +i /www/server/panel/data/plugin.json

5.BT7.7.0 版本去除登录框的命令
sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js
rm -rf /www/server/panel/data/bind.pl

6. 软件商店加载不出来,修改 hosts
curl https://download.bt.cn/tools/auto_node.sh | bash

7. 以上步骤如果搞错了就卸载了从新来,卸载 BT 脚本
wget -O bt-uninstall.sh http://download.bt.cn/install/bt-uninstall.sh && bash bt-uninstall.sh
rm -rf /www

正文完
 0
评论(没有评论)
验证码