[BlueOnyx:08238] Re: {Disarmed} Re: Re: Apache DoS exploit kit

Michael Stauber mstauber at blueonyx.it
Thu Aug 25 00:36:05 -05 2011


Hi Jon,

> FYI, can we just make a script to update all?

Yes. But this is really quick and dirty with next to no error checks. So use 
it at your own risks:

http://data.smd.net/scripts/apache_killer_hotfix.sh.txt

Usage (BlueQuartz only!):

wget http://data.smd.net/scripts/apache_killer_hotfix.sh.txt
mv apache_killer_hotfix.sh.txt apache_killer_hotfix.sh
chmod 700 apache_killer_hotfix.sh
./apache_killer_hotfix.sh

It creates a backup copy of /etc/httpd/conf/vhosts with the name of 
/etc/httpd/conf/vhosts.backup

Then it appends the three lines as needed to site*.include files and also to 
the preview file (if it exists).

At the end of the modifications Apache is restarted.

-- 
With best regards

Michael Stauber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20110825/eb0b81fa/attachment.html>


More information about the Blueonyx mailing list