Parašė nesby· 2009 Spa. 27 20:10:33
#11
Estrella parašė:
Surašyk saviškius gal :)
negaila, va mano visas htacess, dar ir daugiau apsaugu isimesk
######## Skripto pradћia
#
# Blokuoja bet kokius mosConfig iraљus URL laukelyje
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Blokuoja betkokius base64_encode iraљus URL laukelyje
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Blokuoja betkokius <script> tagus URL laukelyje
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Blokuoja betkokius PHP GLOBALS iraљus URL laukelyje
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Blokuoja bet kokius _REQUEST iraљus URL laukelyje
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Siuncia visus blokuotus i 403 Forbidden error puslapi !
RewriteRule ^(.*)$ index.php [F,L]
#
########## Pabaiga
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteCond %{QUERY_STRING} [0-9,a-z,A-Z].SELECT.[0-9,a-z,A-Z]
RewriteCond %{QUERY_STRING} [0-9,a-z,A-Z].FROM.[0-9,a-z,A-Z]
RewriteCond %{QUERY_STRING} [0-9,a-z,A-Z].WHERE.[0-9,a-z,A-Z]
<Files .htaccess>
order allow,deny
deny from all
</Files>
<Files .php>
order allow,deny
deny from all
</Files>
<Files .js>
order allow,deny
deny from all
</Files>
<Files .css>
order allow,deny
deny from all
</Files>
Order Allow,Deny
Deny from 78.61.146.158
Deny from 78.56.45.10
Deny from 78.62.116.70
Deny from 78.63.253.41
Deny from 84.32.75.83
Deny from 84.32.117.201
Deny from 78.60.166.58
Deny from 78.61.216.146
Deny from 62.129.243.66
Deny from 89.241.38.133
Deny from 88.118.96.213
Deny from 78.86.90.148
Deny from 213.164.101.201
Deny from 78.69.95.189
Deny from 78.62.75.212
Deny from 78.20.252.88
Deny from 88.118.96.213
Deny from 78.86.90.148
Deny from 213.164.101.201
Deny from 78.69.95.189
Deny from 78.62.75.212
Deny from 78.20.252.88
Deny from 78.59.130.53
Deny from 88.222.224.163
Deny from 77.79.39.36
Deny from 88.216.64.199
Deny from 62.212.206.248
Deny from 78.63.227.88
Deny from 78.58.176.27
Deny from 78.60.196.229
Deny from 62.80.225.79
Deny from 88.118.39.239
Deny from 89.116.254.189
Deny from 88.222.145.32
Deny from 88.216.6.67
Deny from 62.212.205.246
Deny from 78.59.115.159
Deny from 79.132.188.10
Deny from 213.226.144.63
Deny from 78.56.140.62
Deny from 78.63.169.215
Deny from 89.116.166.109
Deny from 62.212.202.68
Deny from 89.100.184.195
Deny from 88.118.144.120
Deny from 88.216.98.108
Deny from 62.56.110.218
Deny from 78.59.80.47
Deny from 86.38.128.185
Deny from 87.247.88.139
Allow from all
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
php_flag display_errors off
Redagavo Karolis· 2009 Spa. 27 20:10:08