Skip to content

Instantly share code, notes, and snippets.

@yangl
Last active June 14, 2020 08:56
Show Gist options
  • Save yangl/fc7139edc86d54c817fe2a5ea9dc475d to your computer and use it in GitHub Desktop.
Save yangl/fc7139edc86d54c817fe2a5ea9dc475d to your computer and use it in GitHub Desktop.
干掉aliyun监控
[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