Sun, 13 Oct 2013

modrewrite .:.permalink.:.

Got sick of seeing proxy attempts in my logs so I send 'em to disney
<Directory /var/www>
#rewrite attackers
        RewriteEngine On
        RewriteCond %{REQUEST_URI}  ^.*isp_verify.*     [NC,OR]
        RewriteCond %{REQUEST_URI}  ^.*azenv.php.*      [NC,OR]
        RewriteCond %{REQUEST_URI}  ^.*yahoo.com*      [NC,OR]
        RewriteCond %{REQUEST_URI}  ^.*proxy.*      [NC,OR]
        RewriteCond %{REQUEST_URI}  ^.*azenv.php.*      [NC,OR]
        RewriteCond %{REQUEST_URI}  ^.*google.com.*      [NC,OR]
        RewriteCond %{REQUEST_URI}  ^.*myadmin.*      [NC]
        RewriteRule ^.* http://www.disney.com/$1 [R,L]
</Directory>

I've seen some folks that send 'em to fbi.gov. Wonder if they check their logs?

Posted at: Sun, 13 Oct 2013 | category: /itsec