Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: David on August 21, 2001, 07:56:38 AM

Title: Getting back at Code Red
Post by: David on August 21, 2001, 07:56:38 AM
Here's a quick way of fighting back at people trying to scan for a open IIS server

http://grilli.net/codered/

It's PHP and really  easy to setup.
Title: Re: Getting back at Code Red
Post by: Meert on August 22, 2001, 02:17:09 AM
How did you get Apache to accept the default.ida as a php-script? I tried to put a .htaccess file in my /home/e-smith/files/primary/html/ directory with
ForceType application/x-httpd-php


but when i go to the default.ida page, I get the complete script, instead of just
Title: Re: Getting back at Code Red
Post by: David on August 23, 2001, 03:24:10 AM
I added the following

AddType application/x-httpd-php .ida

I placed it just under the following to AddType's


<<<<<httpd.conf>>>>>
AddType application/x-pkcs7-crl    .crl
AddType application/x-x509-ca-cert .crt

AddType application/x-httpd-php .ida