Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # _____ _____ _ _____ _____ _____ _____ _____ _____
- # ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- #|_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- #|___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- #|s C R i P T z - T E A M . i N F O|----------------------------
- #
- #[SERVER] Secured .htaccess file
- <ifModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteCond %{QUERY_STRING} (environ|localhost|mosconfig|scanner) [NC,OR]
- RewriteCond %{QUERY_STRING} (menu|mod|path|tag)\=\.?/? [NC,OR]
- RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
- RewriteCond %{QUERY_STRING} echo.*kae [NC,OR]
- RewriteCond %{QUERY_STRING} etc/passwd [NC,OR]
- RewriteCond %{QUERY_STRING} \=\\%27$ [NC,OR]
- RewriteCond %{QUERY_STRING} \=\\\'$ [NC,OR]
- RewriteCond %{QUERY_STRING} \.\./ [NC,OR]
- RewriteCond %{QUERY_STRING} \? [NC,OR]
- RewriteCond %{QUERY_STRING} \: [NC,OR]
- RewriteCond %{QUERY_STRING} \[ [NC,OR]
- RewriteCond %{QUERY_STRING} \] [NC]
- RewriteRule .* - [F]
- </ifModule>
- # [USER AGENTS]
- <ifModule mod_setenvif.c>
- SetEnvIfNoCase User-Agent ^$ keep_out
- SetEnvIfNoCase User-Agent (casper|cmsworldmap|diavol|dotbot) keep_out
- SetEnvIfNoCase User-Agent (flicky|ia_archiver|jakarta|kmccrew) keep_out
- SetEnvIfNoCase User-Agent (libwww|planetwork|pycurl|skygrid) keep_out
- SetEnvIfNoCase User-Agent (purebot|comodo|feedfinder|turnit) keep_out
- SetEnvIfNoCase User-Agent (zmeu|nutch|vikspider|binlar|sucker) keep_out
- <limit GET POST PUT>
- Order Allow,Deny
- Allow from all
- Deny from env=keep_out
- </limit>
- </ifModule>
- # [REQUEST STRINGS]
- <ifModule mod_alias.c>
- RedirectMatch 403 (https?|ftp|php)\://
- RedirectMatch 403 /(cgi|https?|ima|ucp)/
- RedirectMatch 403 /(Permanent|Better)$
- RedirectMatch 403 (\=\\\'|\=\\%27|/\\\'/?|\)\.css\()$
- RedirectMatch 403 (\,|//|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\||\\\"\\\")
- RedirectMatch 403 \.(cgi|asp|aspx|cfg|dll|exe|jsp|mdb|sql|ini|rar)$
- RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$
- RedirectMatch 403 (base64|crossdomain|localhost|wwwroot|e107\_)
- RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml)
- RedirectMatch 403 \.well\-known/host\-meta
- RedirectMatch 403 /function\.array\-rand
- RedirectMatch 403 \)\;\$\(this\)\.html\(
- RedirectMatch 403 proc/self/environ
- RedirectMatch 403 msnbot\.htm\)\.\_
- RedirectMatch 403 /ref\.outcontrol
- RedirectMatch 403 com\_cropimage
- RedirectMatch 403 \{\$itemURL\}
- RedirectMatch 403 function\(\)
- RedirectMatch 403 labels\.rdf
- RedirectMatch 403 /playing.php
- RedirectMatch 403 muieblackcat
- RedirectMatch 403 .htaccess
- </ifModule>
- # [BAD IPS]
- <limit GET POST PUT>
- Order Allow,Deny
- Allow from all
- # uncomment/edit/repeat next line to block IPs
- # Deny from xxx.yyy.zzz
- </limit>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement