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

Ports to allow for whatsapp call

Manually clean up zimbra zmcat/zmcpustat exploit

Keychron K2 in Linux