一键干掉宝塔面板的强制登陆

先安装宝塔,如果登陆啥事都没有那最好
如果提示必须要登陆宝塔账户
那么,在SSH里执行

Bash
sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js

完工
同理,如果要还原

Bash
sed -i "s|if (bind_user == 'REMOVED') {|if (bind_user == 'True') {|g" /www/server/panel/BTPanel/static/js/index.js

图片[1]-一键干掉宝塔面板的强制登陆-我淘网

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容