Skip to content

Instantly share code, notes, and snippets.

@weivall
Created November 26, 2012 07:15
Show Gist options
  • Save weivall/4146990 to your computer and use it in GitHub Desktop.
Save weivall/4146990 to your computer and use it in GitHub Desktop.
w00tw00t.at.blackhats.romanian.anti-sec
#http://www.securityweek.com/hacked-mit-server-used-stage-attacks-scan-vulnerabilities
Using mod-rewrite in HTACCESS can filter these scans, redirecting them to your main domain or elsewhere, such as a 403 page.
RewriteCond %{REQUEST_URI} ^(.*)//+(.*)$
RewriteRule / http: //www.example.com/%1/%2 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment