2015-09-11 22:54:55

卸载云盾

由此次阿里云事件谈粗暴的安全防护手段

阿里云:

a ) wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh 
b ) chmod +x quartz_uninstall.sh 
c ) ./quartz_uninstall.sh

腾讯云:

#!/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
发表回复