|
|
how aobut redirecting them ...
This isn't my code, I found it on a forum I visit ...
how about redirecting them ...
Good idea, but it can be accomplished more simply with the Redirect directive (see the Apache 1.3 documentation):
Redirect gone /default.ida RedirectMatch gone .*c;.exe$ # or Redirect permanent /default.ida http://www.microsoft.com/ RedirectMatch permanent .*c;.exe$ http://www.microsoft.com/ # as you preferI've decided on a different approach with my web server, which has many VirtualHost sites - set up a dummy VirtualHost as the default (first) server which will be a catch-all for requests to the server's numeric IP, and block all accesses to it. (All other VirtualHosts continue to serve requests normally.)
how about redirecting them ...(to themself)
I copied and pasted this bit suggested above into my httpd.conf on my linux box, and replaced "www.microsoft.com" with "localhost". I tested it from my Mac OS X machine and it redirects hits on /default.ida to my Mac OS X's webserver, so I'd say it works. This will have the effect of causing the infected machine to redirect to itself, and is perhaps better than getting involved with redirection at the evil empire. Here's the modified version: RewriteEngine On RewriteRule /default.ida http://localhost/ [L] # trap exploits of code-red compromized systems. RewriteEngine On RewriteRule . http://localhost/ [L] |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|