Advertisement
geolim4

ht

Aug 9th, 2012
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 19.59 KB | None | 0 0
  1. # th23 start - error pages
  2. ErrorDocument 400 /error.php?e=400
  3. ErrorDocument 401 /error.php?e=401
  4. ErrorDocument 403 /error.php?e=403
  5. ErrorDocument 404 /error.php?e=404
  6. ErrorDocument 500 /error.php?e=500
  7.  
  8. SetEnv PHP_VER 5
  9. DirectoryIndex index.php
  10.  
  11. # Lines That should already be in your .htacess
  12. <Files "config.php">
  13. Order Allow,Deny
  14. Deny from All
  15. </Files>
  16. <Files "common.php">
  17. Order Allow,Deny
  18. Deny from All
  19. </Files>
  20. <Files "web.config">
  21.     Order Allow,Deny
  22.     Deny from All
  23. </Files>
  24. Options -Indexes
  25.  
  26. #Rewriting default sitemap to Sitemapindex
  27. Options +FollowSymlinks
  28. RewriteEngine on
  29. RewriteRule ^sitemap.xml$ sitemapindex.xml [L]
  30. #Begin Rewriting default sitemap to Sitemapindex
  31.  
  32. #Pour les débiles qui veulent visiter les zones protégées -__-
  33. RewriteEngine on
  34. RewriteRule adm/index.php$ owned.html [L]
  35. RewriteRule stk/index.php$ owned.html [L]
  36. #Begin vive les lowbobs
  37.  
  38. # You may need to un-comment the following lines
  39. # Options +FollowSymlinks
  40. # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
  41. # Options -MultiViews
  42. # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
  43.  
  44. #####################OLD REWRITING
  45. #RewriteEngine On
  46. #RewriteCond %{HTTP_HOST} !^xtrem-warez\.net$ [NC]
  47. #RewriteRule ^(.*)$ http://xtrem-warez.net/$1 [QSA,L,R=301]
  48. #####################----OLD REWRITING
  49.  
  50. #########################################################
  51. ###########        New Rewriting        #################
  52. #########################################################
  53. <IfModule mod_rewrite.c>
  54. RewriteEngine On
  55. RewriteCond %{HTTP_HOST} !^xtrem-warez\.net$ [NC]
  56. RewriteRule ^(.*)$ $1 [R=301,L]
  57. </IfModule>
  58. #########################################################
  59. ###########      End New Rewriting      #################
  60. #########################################################
  61. #########################################################
  62.  
  63. # Uncomment the statement below if you want to make use of
  64. # HTTP authentication and it does not already work.
  65. # This could be required if you are for example using PHP via Apache CGI.
  66. # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
  67. # REWRITE BASE
  68. RewriteBase /
  69. # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
  70. RewriteEngine On
  71. #RewriteCond %{HTTP_HOST} !^xtrem-warez\.net$ [NC]
  72. #RewriteRule ^(.*)$ http://xtrem-warez.net/$1 [QSA,L,R=301]
  73. # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
  74. RewriteCond %{REQUEST_FILENAME} -f
  75. RewriteCond %{REQUEST_FILENAME} -d
  76. RewriteRule . - [L]
  77. #####################################################
  78. # PHPBB SEO REWRITE RULES ALL MODES
  79. #####################################################
  80. # AUTHOR : dcz www.phpbb-seo.com
  81. # STARTED : 01/2006
  82. #################################
  83. # FORUMS PAGES
  84. ###############
  85. #FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
  86. RewriteRule ^forum\.html$ /index.php [QSA,L,NC]
  87. # FORUM ALL MODES
  88. RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /viewforum.php?f=$2&start=$4 [QSA,L,NC]
  89. # TOPIC WITH VIRTUAL FOLDER ALL MODES
  90. RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
  91. # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
  92. RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
  93. # PHPBB FILES ALL MODES
  94. RewriteRule ^ressources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /download/file.php?id=$2&t=$1 [QSA,L,NC]
  95. # PROFILES ALL MODES WITH ID
  96. RewriteRule ^(membre|[a-z0-9_-]*-u)([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$2 [QSA,L,NC]
  97. # USER MESSAGES ALL MODES WITH ID
  98. RewriteRule ^(membre|[a-z0-9_-]*-u)([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /search.php?author_id=$2&sr=$3&start=$5 [QSA,L,NC]
  99. # GROUPS ALL MODES
  100. RewriteRule ^(groupe|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
  101. # POST
  102. RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
  103. # ACTIVE TOPICS
  104. RewriteRule ^sujets-actifs(-([0-9]+))?\.html$ /search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
  105. # UNANSWERED TOPICS
  106. RewriteRule ^sans-reponses(-([0-9]+))?\.html$ /search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
  107. # NEW POSTS
  108. RewriteRule ^nouveaux-messages(-([0-9]+))?\.html$ /search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
  109. # UNREAD POSTS
  110. RewriteRule ^non-lu(-([0-9]+))?\.html$ /search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
  111. # THE TEAM
  112. RewriteRule ^le-staff\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
  113. # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
  114.  
  115. #####################################################
  116. # GYM Sitemaps & RSS
  117. # Global channels
  118. RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
  119. # HTML Global news & maps
  120. RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ map.php?$1&start=$3 [QSA,L,NC]
  121. # END GYM Sitemaps & RSS
  122. #####################################################
  123.  
  124. # FORUM WITHOUT ID & DELIM ALL MODES
  125. # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
  126. RewriteCond %{REQUEST_FILENAME} !-f
  127. RewriteRule ^([a-z0-9_-]+)(-([0-9]+))\.html$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
  128. RewriteCond %{REQUEST_FILENAME} !-f
  129. RewriteRule ^([a-z0-9_-]+)\.html$ viewforum.php?forum_uri=$1 [QSA,L,NC]
  130. # FIX RELATIVE PATHS : FILES
  131. RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ $1 [QSA,L,NC,R=301]
  132. # FIX RELATIVE PATHS : IMAGES
  133. RewriteRule ^.+/(styles/.*|images/.*)/$ $1 [QSA,L,NC,R=301]
  134. # END PHPBB PAGES
  135. #####################################################
  136.  
  137. #####################################################
  138. # GYM Sitemaps & RSS
  139. # HTML Module additional modes
  140. RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ map.php?$2=$4&$1&start=$6 [QSA,L,NC]
  141. # Main feeds & channels
  142. RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
  143. # Module feeds
  144. RewriteRule ^[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
  145. # Module feeds without ids
  146. RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
  147. # Google SitemapIndex
  148. RewriteRule ^sitemapindex\.xml(\.gz)?$ sitemap.php?gzip=$1 [QSA,L,NC]
  149. # Module cat sitemaps
  150. RewriteRule ^[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
  151. # Module sitemaps
  152. RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
  153. # END GYM Sitemaps & RSS
  154. #####################################################
  155.  
  156.  
  157. ########################################################################
  158. # CrawlProtect-2-0-0
  159. #----------------------------------------------------------------------
  160. # Protect you website from hackers
  161. #----------------------------------------------------------------------
  162. # Author: Jean-Denis Brun
  163. #----------------------------------------------------------------------
  164. # Website: www.crawlprotect.com
  165. #----------------------------------------------------------------------
  166. # That script is distributed under GNU GPL license
  167. #----------------------------------------------------------------------
  168. # file: .htaccess
  169. #----------------------------------------------------------------------
  170. #  Last update: 20/06/2010
  171. #----------------------------------------------------------------------
  172. RewriteEngine On
  173. #-------------------------------
  174. #Code injection blocage
  175. #----------------------------------------
  176. RewriteCond %{REQUEST_METHOD} (GET) [NC]
  177. #--------------------------------------------------------------------------------
  178. #case CrawlTrack
  179. RewriteCond %{REQUEST_URI} !^(.*)countdownload(.*)$ [NC]
  180. RewriteCond %{REQUEST_URI} !^(.*)keywordposition\.php(.*)$ [NC]
  181. RewriteCond %{REQUEST_URI} !^(.*)ucp\.php(.*)$ [NC]
  182. #--------------------------------------------------------------------------------
  183. #case Wordpress
  184. RewriteCond %{REQUEST_URI} !^(.*)wp-login(.*)$ [NC]
  185. #--------------------------------------------------------------------------------
  186. #the following rules can block some off your url, in case of problem try to suppress them one per one until you solve it
  187. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)(t|%74|%54)(p|%70|%50)(s|%73|%53)(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  188. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)(t|%74|%54)(p|%70|%50)(s|%73|%53)%3a(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  189. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)(t|%74|%54)(p|%70|%50)(%3A|:)(/|%2F){2}(.*)$ [NC]
  190. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)(t|%74|%54)(p|%70|%50)%3a(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  191. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(f|%66|%46)(t|%74|%54)(p|%70|%50)(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  192. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)%20(t|%74|%54)(p|%70|%50)(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  193. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)(t|%74|%54)%20(p|%70|%50)(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  194. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)(t|%74|%54)(t|%74|%54)(p|%70|%50)%20(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  195. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=|%3A|%09)(h|%68|%48)%20(t|%74|%54)(t|%74|%54)(p|%70|%50)(%3A|:)(/|%2F){2}(.*)$ [NC,OR]
  196. #end of potential issue rules
  197. RewriteRule (.*) /homez.362/xtremwar/www/crawlprotect/noaccess/noaccess1.php   [L]
  198. #-------------------------------
  199. #Sql injection blocage
  200. #----------------------------------------
  201. RewriteCond %{REQUEST_METHOD} (GET|POST) [NC]
  202. RewriteCond %{QUERY_STRING} ^(.*)(%20(S|%73|%53)(E|%65|%45)(L|%6C|%4C)(E|%65|%45)(C|%63|%43)(T|%74|%54)%20|%20(I|%69|%49)(N|%6E|%4E)(S|%73|%53)(E|%65|%45)(R|%72|%52)(T|%74|%54)%20|(C|%63|%43)(H|%68|%48)(A|%61|%41)(R|%72|%52)\(|%20(U|%75|%55)(P|%70|%50)(D|%64|%44)(A|%61|%41)(T|%74|%54)(E|%65|%45)%20|%20(R|%72|%52)(E|%65|%45)(P|%70|%50)(L|%6C|%4C)(A|%61|%41)(C|%63|%43)(E|%65|%45)%20)(.*)$ [NC]
  203. RewriteRule (.*) /homez.362/xtremwar/www/crawlprotect/noaccess/noaccess1.php   [L]
  204. #-------------------------------
  205. #Code injection blocage
  206. #----------------------------------------
  207. RewriteCond %{REQUEST_METHOD} (GET|POST) [NC]
  208. RewriteCond %{QUERY_STRING} ^(.*)(%3C|<)/?(s|%73|%53)(c|%63|%43)(r|%72|%52)(i|%69|%49)(p|%70|%50)(t|%74|%54)(.*)$ [NC,OR]
  209. RewriteCond %{QUERY_STRING} ^(.*)(%3D|=)?(j|%6A|%4A)(a|%61|%41)(v|%76|%56)(a|%61|%31)(s|%73|%53)(c|%63|%43)(r|%72|%52)(i|%69|%49)(p|%70|%50)(t|%74|%54)(%3A|:)(.*)$ [NC,OR]
  210. RewriteCond %{QUERY_STRING} ^(.*)(d|%64|%44)(o|%6F|%4F)(c|%63|%43)(u|%75|%55)(m|%6D|%4D)(e|%65|%45)(n|%6E|%4E)(t|%74|%54)\.(l|%6C|%4C)(o|%6F|%4F)(c|%63|%43)(a|%61|%41)(t|%74|%54)(i|%69|%49)(o|%6F|%4F)(n|%6E|%4E)\.(h|%68|%48)(r|%72|%52)(e|%65|%45)(f|%66|%46)(.*)$ [OR]
  211. RewriteCond %{QUERY_STRING} ^(.*)(b|%62|%42)(a|%61|%41)(s|%73|%53)(e|%65|%45)(6|%36)(4|%34)(_|%5F)(e|%65|%45)(n|%6E|%4E)(c|%63|%43)(o|%6F|%4F)(d|%64|%44)(e|%65|%45)(.*)$ [OR]
  212. RewriteCond %{QUERY_STRING} ^(.*)(G|%67|%47)(L|%6C|%4C)(O|%6F|%4F)(B|%62|%42)(A|%61|%41)(L|%6C|%4C)(S|%73|%53)(=|[|%[0-9A-Z]{0,2})(.*)$ [OR]
  213. RewriteCond %{QUERY_STRING} ^(.*)(_|%5F)(R|%72|%52)(E|%65|%45)(Q|%71|%51)(U|%75|%55)(E|%65|%45)(S|%73|%53)(T|%74|%54)(=|[|%[0-9A-Z]{0,2})(.*)$ [OR]
  214. RewriteCond %{REQUEST_URI} ^(.*)(_|%5F)(v|%76|%56)(t|%74|%54)(i|%69|%49)(.*)$ [OR]
  215. RewriteCond %{REQUEST_URI} ^(.*)(M|%4D)(S|%53)(O|%4F)(f|%66)(f|%66)(i|%69)(c|%63)(e|%65)(.*)$ [OR]
  216. RewriteCond %{QUERY_STRING} ^(.*)(/|%2F)(e|%65)(t|%74)(c|%63)(/|%2F)(p|%70)(a|%61)(s|%73)(s|%73)(w|%77)(d|%64)(.*)$ [OR]
  217. RewriteCond %{REQUEST_URI} ^(.*)(S|%53)(h|%68)(e|%65)(l|%6C)(l|%6C)(A|%41)(d|%64)(r|%72)(e|%65)(s|%73)(i|%69).(T|%54)(X|%58)(T|%54)(.*)$ [OR]
  218. RewriteCond %{REQUEST_URI} ^(.*)\[(e|%65)(v|%76)(i|%69)(l|%6C)(_|%5F)(r|%72)(o|%6F)(o|%6F)(t|%74)\]?(.*)$ [OR]
  219. RewriteCond %{QUERY_STRING} ^(.*)\.\./\.\./\.\./(.*)$ [OR]
  220. RewriteCond %{QUERY_STRING} ^(.*)(/|%2F)(p|%70)(r|%72)(o|%6F)(c|%63)(/|%2F)(s|%73)(e|%65)(l|%C)(f|%66)(/|%2F)(e|%65)(n|%6E)(v|%76)(i|%69)(r|%72)(o|%6F)(n|%6E)(.*)$
  221. RewriteRule (.*) /homez.362/xtremwar/www/crawlprotect/noaccess/noaccess1.php   [L]
  222. #-------------------------------
  223. #Bad bot and site copier blocage
  224. #-------------------------------
  225. RewriteCond %{HTTP_USER_AGENT} @nonymouse|ADSARobot|amzn_assoc|Anarchie|ASPSeek|Atomz|^[^?]*addresses\.com|^[^?]*Anonymouse\.org|Advanced\ Email\ Extractor|ah-ha|aktuelles|almaden|Art-Online|AspiWeb|ASSORT|ATHENS|attach|attache|autoemailspider|BackWeb|Bandit|BatchFTP|bdfetch|big.brother|BlackWidow|bmclient|Boston\ Project|Bot\ mailto:craftbot@yahoo.com|BravoBrian\ SpiderEngine\ MarcoPolo|Buddy|Bullseye|bumblebee|capture|CherryPicker|ChinaClaw|CICC|clipping|Crescent\ Internet\ ToolPack|cURL|Custo|cyberalert|Deweb|diagem|Digger|Digimarc|DIIbot|DirectUpdate|DISCo|Download\ Accelerator|Download\ Demon|Download\ Wonder|Downloader|Drip|DSurf15a|DTS.Agent|EasyDL|eCatch|echo\ extense|ecollector|efp@gmx\.net|EirGrabber|EmailCollector|Email\ Extractor|EmailSiphon|EmailWolf|Express\ WebPictures|ExtractorPro|EyeNetIE|fastlwspider|FavOrg|Favorites\ Sweeper|Fetch\ API\ Request|FEZhead|FileHound|FlashGet|FlickBot|fluffy|frontpage|GalaxyBot|Generic|Getleft|GetSmart|GetWeb!|GetWebPage|gigabaz|Girafabot|Go!Zilla|Go-Ahead-Got-It|GornKer|Grabber|GrabNet|Grafula|Green\ Research|Harvest|hhjhj@yahoo|hloader|HMView|HomePageSearch|HTTP\ agent|HTTPConnect|httpdown|http\ generic|HTTrack|^[^?]*iaea\.org|IBM_Planetwide|^[^?]*\.ideography\.co\.uk|Image\ Stripper|Image\ Sucker|imagefetch|IncyWincy|Indy\ Library|informant|Ingelin|InterGET|Internet\ Ninja|InternetLinkAgent|InternetSeer\.com|Iria|Irvine|iOpus|IPiumBot\ laurion(dot)com|Jakarta|JBH*Agent|JetCar|JustView|Kapere|KWebGet|Lachesis|larbin|LeechFTP|LexiBot|lftp|libwww|likse|Link*Sleuth|LINKS\ ARoMATIZED|LinkWalker|LWP|lwp-trivial|Magnet|Mac\ Finder|Mag-Net|Mass\ Downloader|MemoWeb|MCspider|Microsoft\ URL\ Control|MIDown\ tool|minibot\(NaverRobot\)|Missigua\ Locator|Mister\ PiX|MMMtoCrawl\/UrlDispatcherLLL|MSProxy|multithreaddb|nationaldirectory|Navroad|NearSite|NetAnts|NetCarta|netfactual|netcraft|NetMechanic|netprospector|NetResearchServer|NetSpider|Net\ Vampire|NetZIP|NEWT|nicerspro|NPBot|Octopus|Offline\ Explorer|Offline\ Navigator|OpaL|Openfind|OpenTextSiteCrawler|OutWit|PackRat|PageGrabber|Papa\ Foto|pavuk|pcBrowser|PersonaPilot|PingALink|Pockey|Program\ Shareware|psbot|PSurf|puf|Pump|PushSite|QRVA|QuepasaCreep|RealDownload|Reaper|Recorder|ReGet|replacer|RepoMonkey|Robozilla|Rover|RPT-HTTPClient|Rsync|SearchExpress|searchhippo|searchterms\.it|Second\ Street\ Research|Shai|sitecheck|SiteMapper|SiteSnagger|SlySearch|SmartDownload|snagger|SpaceBison|Spegla|SpiderBot|SqWorm|Star\ Downloader|Stripper|Sucker|SuperBot|SuperHTTP|Surfbot|SurfWalker|Szukacz|tAkeOut|tarspider|Teleport\ Pro|Telesoft|Templeton|traffixer|TrueRobot|TuringOS|TurnitinBot|TV33_Mercator|UIowaCrawler|URL_Spider_Pro|UtilMind|Vacuum|vagabondo|vayala|visibilitygap|vobsub|VoidEYE|vspider|w3mir|web\.by\.mail|Web\ Data\ Extractor|Web\ Downloader|Web\ Image\ Collector|Web\ Sucker|WebAuto|webbandit|Webclipping|webcollector|webcollage|WebCopier|webcraft@bea|WebDAV|webdevil|webdownloader|Webdup|WebEmailExtractor|WebFetch|WebGo\ IS|WebHook|Webinator|WebLeacher|WebMiner|WebMirror|webmole|WebReaper|WebSauger|WEBsaver|Website\ eXtractor|Website\ Quester|WebSnake|Webster|WebStripper|websucker|webvac|webwalk|webweasel|WebWhacker|WebZIP|Wget|whizbang|WhosTalking|Widow|WISEbot|WUMPUS|Wweb|WWWOFFLE|Wysigot|Xaldon\ WebSpider|XGET|x-Tractor|Zeus.* [OR]
  226. RewriteCond %{HTTP_REFERER} ^XXX
  227. RewriteRule (.*) /homez.362/xtremwar/www/crawlprotect/noaccess/noaccess2.php   [L]
  228. #-------------------------------
  229. # Filter against PHPSHELL.PHP, REMOTEVIEW, c99Shell and others
  230. #-------------------------------
  231. #--------------------------------------------------------------------------------
  232. #case punBB
  233. RewriteCond %{REQUEST_URI} !^(.*)search(.*)$ [NC]
  234. RewriteCond %{REQUEST_URI} .*((php|my)?shell|remview.*|phpremoteview.*|sshphp.*|pcom|nstview.*|c99|r57|webadmin.*|phpget.*|phpwriter.*|fileditor.*|locus7.*|storm7.*)\.(p?s?x?htm?l?|txt|aspx?|cfml?|cgi|pl|php[3-9]{0,1}|jsp?|sql|xml) [NC,OR]
  235. RewriteCond %{REQUEST_METHOD} (GET|POST) [NC]
  236. RewriteCond %{QUERY_STRING} ^(.*)=(/|%2F)(h|%68|%48)(o|%6F|%4F)(m|%6D|%4D)(e|%65|%45)(.+)?(/|%2F)(.*)(/|%2F)(.*)$ [OR]
  237. RewriteCond %{QUERY_STRING} ^work_dir=.*$ [OR]
  238. RewriteCond %{QUERY_STRING} ^command=.*&output.*$ [OR]
  239. RewriteCond %{QUERY_STRING} ^nts_[a-z0-9_]{0,10}=.*$ [OR]
  240. RewriteCond %{QUERY_STRING} ^c=(t|setup|codes)$ [OR]
  241. RewriteCond %{QUERY_STRING} ^act=((about|cmd|selfremove|chbd|trojan|backc|massbrowsersploit|exploits|grablogins|upload.*)|((chmod|f)&f=.*))$ [OR]
  242. RewriteCond %{QUERY_STRING} ^act=(ls|search|fsbuff|encoder|tools|processes|ftpquickbrute|security|sql|eval|update|feedback|cmd|gofile|mkfile)&d=.*$ [OR]
  243. RewriteCond %{QUERY_STRING} ^&?c=(l?v?i?&d=|v&fnot=|setup&ref=|l&r=|d&d=|tree&d|t&d=|e&d=|i&d=|codes|md5crack).*$ [OR]
  244. RewriteCond %{QUERY_STRING} ^(.*)([-_a-z]{1,15})=(chmod|chdir|mkdir|rmdir|clear|whoami|uname|unzip|gzip|gunzip|grep|more|umask|telnet|ssh|ftp|head|tail|which|mkmode|touch|logname|edit_file|search_text|find_text|php_eval|download_file|ftp_file_down|ftp_file_up|ftp_brute|mail_file|mysql|mysql_dump|db_query)([^a-zA-Z0-9].+)*$ [OR]
  245. RewriteCond %{QUERY_STRING} ^(.*)(wget|shell_exec|passthru|system|exec|popen|proc_open)(.*)$
  246. RewriteRule (.*) /homez.362/xtremwar/www/crawlprotect/noaccess/noaccess3.php  [L]
  247. # End CrawlProtect-2-0-0
  248.  
  249. ### ON EVITE LE VOL D'IMAGES, VIDEO, SON, FEUILLE DE STYLE, PDF ET ZIP
  250. ### LES VISITEURS DOIVENT PASSER PAR LE SITE.
  251. RewriteEngine on
  252. RewriteCond %{HTTP_REFERER} !^$
  253. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*geolim4\.com$ [NC]
  254. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*geolim4\.com/.*$ [NC]
  255. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*breizh-hosting\.net$ [NC]
  256. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*breizh-hosting\.net/.*$ [NC]
  257. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*xtrem-warez\.net$ [NC]
  258. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*xtrem-warez\.net/.*$ [NC]
  259. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*upload\.xtrem-warez\.net$ [NC]
  260. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*upload\.xtrem-warez\.net/.*$ [NC]
  261. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*phpbb-fr\.com/.*$ [NC]
  262. RewriteCond %{HTTP_REFERER} !^http://[-_a-z0-9.]*breizh-portal\.com/.*$ [NC]
  263. RewriteCond %{HTTP_REFERER} !^http://business\.ovh\.net/~xtremwar/.*$ [NC]
  264. RewriteRule .*\.(gif|jpe?g?|jp2|png|svgz?|ico|css|pdf|zip|gz|js|mp3|m4a|mp4|mov|divx|avi|wma?v?|wmp|swf|flv|docx?|xlsx?|pptx?|vbs|rtf|asf?x?|odt|ods|odp|odg|odb)$ - [NC,F]
  265. ####
  266.  
  267. # /!\ Premiere IP sans virgule devant... Comme par hasard les russes ouvrent la liste... pfffffff
  268. Deny from 188.123.241.189
  269. Deny from 188.123.241.175
  270. Deny from 62.213.66.XXX
  271. Deny from 62.213.68.XXX
  272. Deny from 62.213.71.XXX
  273. Deny from 62.213.83.XXX
  274. Deny from 62.213.86.XXX
  275. Deny from 212.24.32.XXX
  276. Deny from 212.24.37.XXX
  277. Deny from 212.24.48.XXX
  278. Deny from 212.24.61.XXX
  279. Deny from 212.24.62.XXX
  280. Deny from 212.24.63.XXX
  281. Deny from 212.158.165.XXX
  282. Deny from 212.158.166.XXX
  283. Deny from 212.158.167.XXX
  284. Deny from 212.158.169.XXX
  285. Deny from 217.23.131.XXX
  286. Deny from 217.23.132.XXX
  287. Deny from 217.23.133.XXX
  288. Deny from 217.23.136.XXX
  289. Deny from 217.23.140.XXX
  290. Deny from 217.23.143.XXX
  291. Deny from 217.23.144.XXX
  292. Deny from 217.23.147.XXX
  293. Deny from 217.23.151.XXX
  294. #### Vives les russes...
  295.  
  296. ##### Bloquage de referrer douteux, la liste va être longue je sens... Kibloc site bidon pour commencer lol...
  297. SetEnvIfNoCase Referer ".*(www.kibloc.com).*" spammer=yes
  298. Order allow,deny
  299. allow from all
  300. deny from env=spammer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement