完美卸载阿里云盾监控

#卸载阿里云盾监控防查水表 (也可在卸载后自行 DD 系统)

下载附件, 并上载到阿里云后解压改名为uninstall.sh + uninstall2.sh

1
2
3
4
5
6
7
chmod +x uninstall.sh

./uninstall.sh

chmod +x uninstall2.sh

./uninstall2.sh

##删除阿里云盾监残留

1
2
3
4
5
pkill aliyun-service

rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service

rm -rf /usr/local/aegis*

#屏蔽阿里云云盾IP

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
iptables -I INPUT -s 140.205.201.0/28 -j DROP

iptables -I INPUT -s 140.205.201.16/29 -j DROP

iptables -I INPUT -s 140.205.201.32/28 -j DROP

iptables -I INPUT -s 140.205.225.192/29 -j DROP

iptables -I INPUT -s 140.205.225.200/30 -j DROP

iptables -I INPUT -s 140.205.225.184/29 -j DROP

iptables -I INPUT -s 140.205.225.183/32 -j DROP

iptables -I INPUT -s 140.205.225.206/32 -j DROP

iptables -I INPUT -s 140.205.225.205/32 -j DROP

iptables -I INPUT -s 140.205.225.195/32 -j DROP

iptables -I INPUT -s 140.205.225.204/32 -j DROP [云盾卸载脚本.zip][1]
坚持原创技术分享,您的支持将鼓励我继续创作!