一键干掉宝塔的强制登陆

2020-09-26 00:18

阅读:2643

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

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

完工 

 同理,如果要还原 

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



评论


亲,登录后才可以留言!

热门文章

推荐文章

最新文章

置顶文章