Login to SSH as root:
wget http://noc.medialayer.com/public/index-hack
chmod 700 index-hack
## make sure you edit index-hack to your needs, there is one variable "STRUCT" which defines the directory structure - the default is fine for cPanel servers but you may have to change this for other servers. $1 is the username.
To run this:
./index-hack <username>
So:
./index-hack layer0
would be correct
The purpose of this script is to list any files containg the "broken proxy" text. This attack has effected many hosts and I'm sure it's a pain for some customers to find all files that contain "index", "home", or "default", etc - this can provide your customers with a nice list if you are hit with the attack - thus they know exactly what files need to be replaced.
Obviously you really should be staying up to date kernel wise, and if you simply typed:
yum upgrade kernel or
yum upgrade kernel-smp (for dual processor boxes) and rebooted you'd be fine but hey...we're not all that lucky
