type
Post
status
Published
date
Apr 23, 2021
slug
summary
tags
Linux
category
笔记
icon
password

卸载阿里云盾/安骑士

wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod +x quartz_uninstall.sh ./quartz_uninstall.sh
删除残留
pkill aliyun-service rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service rm -rf /usr/local/aegis*
代码备份或者用网友简单粗暴版本:
#!/bin/bash rm -rf /usr/local/aegis for A in $(ps aux | grep Ali | grep -v grep | awk '{print $2}') do kill -9 $A; done

腾讯云解决方案

#!/bin/bash #fuck tx process rm -rf /usr/local/sa rm -rf /usr/local/agenttools rm -rf /usr/local/qcloud process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver ) for i in ${process[@]} do for A in $(ps aux | grep $i | grep -v grep | awk '{print $2}') do kill -9 $A done done chkconfig --level 35 postfix off service postfix stop echo ''>/var/spool/cron/root echo '#!/bin/bash' >/etc/rc.local
 
LeetCode刷题Jellyfin安装