Last active
August 5, 2017 20:30
-
-
Save xombra/11310791 to your computer and use it in GitHub Desktop.
Aumentando seguridad .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymlinks | |
FileETag None | |
RewriteEngine On | |
RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR] | |
RewriteCond %{QUERY_STRING} ^(.*)=http [NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] | |
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] | |
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] | |
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) | |
RewriteCond %{QUERY_STRING} (\<|%3C).*iframe.*(\>|%3E) [NC,OR] | |
SetEnv SERVER_ADMIN info@viserproject.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment