Clean up apache process

routine script for cleaning up process from script kiddies:

/etc/init.d/httpd stop
/etc/init.d/httpd stop
# my killall does not support -u
for a in `ps auxww | grep -r ^apache | awk -F " " '{ print $2 }'`; do
kill -9 $a
done
/etc/init.d/httpd start

Comments

Popular posts from this blog

Optimize SSD on Linux

Manually clean up zimbra zmcat/zmcpustat exploit

Ports to allow for whatsapp call