Last active
June 14, 2020 08:56
-
-
Save yangl/fc7139edc86d54c817fe2a5ea9dc475d to your computer and use it in GitHub Desktop.
干掉aliyun监控
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@dexter-proxy bin]# crontab -l | |
*/1 * * * * sh /usr/bin/aliyun.sh | |
[root@dexter-proxy bin]# cat /usr/bin/aliyun.sh | |
#!/bin/bash | |
rm -rf /usr/local/aegis | |
for A in $(ps aux | grep -i aliyun | grep -v grep | awk '{print $2}') | |
do | |
kill -9 $A; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment