宝塔免登录版本7.7.0

curl -sSO https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/install_panel.sh && bash install_panel.sh
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
# hosts加入,所有服务都搭建完成后,禁用请求宝塔域名防止更新
vi /etc/hosts
127.0.0.1 bt.cn

 

# 破解所有插件
sed 's/\"endtime\": -1/\"endtime\": 9999999999999/g' /www/server/panel/data/plugin.json

 

# 取消自动修复,用Linux chattr命令改变文件属性。
chattr +i /www/server/panel/data/plugin.json

 

 

 

https://cloud.tencent.com/developer/article/1962289

posted @ 2024-06-13 16:32  何童鞋  阅读(293)  评论(0编辑  收藏  举报