Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

htaccess file - after test

By: deryck on Jul 15th, 2012  |  syntax: None  |  size: 30.47 KB  |  hits: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. # BEGIN Better WP Security
  3. # Begin HackRepair.com Blacklist
  4. RewriteEngine on
  5. #Block comment spammers, bad bots and some proxies
  6. RewriteCond %{REMOTE_HOST} 12.226.240.248 [OR]
  7. RewriteCond %{REMOTE_HOST} 24.111.102.26 [OR]
  8. RewriteCond %{REMOTE_HOST} 24.117.121.113 [OR]
  9. RewriteCond %{REMOTE_HOST} 65.30.216.140 [OR]
  10. RewriteCond %{REMOTE_HOST} 67.87.64.23 [OR]
  11. RewriteCond %{REMOTE_HOST} 68.12.149.198 [OR]
  12. RewriteCond %{REMOTE_HOST} 69.139.167.203 [OR]
  13. RewriteCond %{REMOTE_HOST} 74.95.182.57 [OR]
  14. RewriteCond %{REMOTE_HOST} 91.121.3.29 [OR]
  15. RewriteCond %{REMOTE_HOST} 203.94.229.227 [OR]
  16. RewriteCond %{REMOTE_HOST} 208.96.122.142 [OR]
  17. RewriteCond %{REMOTE_HOST} 210.0.141.247 [OR]
  18. RewriteCond %{REMOTE_HOST} 210.197.97.67 [OR]
  19. RewriteCond %{REMOTE_HOST} 212.179.127.188 [OR]
  20. RewriteCond %{REMOTE_HOST} 216.246.60.183 [OR]
  21. RewriteCond %{REMOTE_HOST} 220.156.189.233 [OR]
  22. RewriteCond %{REMOTE_HOST} 222.36.12.42 [OR]
  23. # Abuse Agent Blocking
  24. RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [NC,OR]
  25. RewriteCond %{HTTP_USER_AGENT} ^Bolt\ 0 [NC,OR]
  26. RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot\@yahoo\.com [NC,OR]
  27. RewriteCond %{HTTP_USER_AGENT} CazoodleBot [NC,OR]
  28. RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [NC,OR]
  29. RewriteCond %{HTTP_USER_AGENT} ^Custo [NC,OR]
  30. RewriteCond %{HTTP_USER_AGENT} ^Default\ Browser\ 0 [NC,OR]
  31. RewriteCond %{HTTP_USER_AGENT} ^DIIbot [NC,OR]
  32. RewriteCond %{HTTP_USER_AGENT} ^DISCo [NC,OR]
  33. RewriteCond %{HTTP_USER_AGENT} discobot [NC,OR]
  34. RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [NC,OR]
  35. RewriteCond %{HTTP_USER_AGENT} ^eCatch [NC,OR]
  36. RewriteCond %{HTTP_USER_AGENT} ecxi [NC,OR]
  37. RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [NC,OR]
  38. RewriteCond %{HTTP_USER_AGENT} ^EmailCollector [NC,OR]
  39. RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [NC,OR]
  40. RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [NC,OR]
  41. RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [NC,OR]
  42. RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [NC,OR]
  43. RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [NC,OR]
  44. RewriteCond %{HTTP_USER_AGENT} ^FlashGet [NC,OR]
  45. RewriteCond %{HTTP_USER_AGENT} ^GetRight [NC,OR]
  46. RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [NC,OR]
  47. RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [NC,OR]
  48. RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [NC,OR]
  49. RewriteCond %{HTTP_USER_AGENT} ^GrabNet [NC,OR]
  50. RewriteCond %{HTTP_USER_AGENT} ^Grafula [NC,OR]
  51. RewriteCond %{HTTP_USER_AGENT} GT::WWW [NC,OR]
  52. RewriteCond %{HTTP_USER_AGENT} heritrix [NC,OR]
  53. RewriteCond %{HTTP_USER_AGENT} ^HMView [NC,OR]
  54. RewriteCond %{HTTP_USER_AGENT} HTTP::Lite [NC,OR]
  55. RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
  56. RewriteCond %{HTTP_USER_AGENT} ia_archiver [NC,OR]
  57. RewriteCond %{HTTP_USER_AGENT} IDBot [NC,OR]
  58. RewriteCond %{HTTP_USER_AGENT} id-search [NC,OR]
  59. RewriteCond %{HTTP_USER_AGENT} id-search\.org [NC,OR]
  60. RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [NC,OR]
  61. RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [NC,OR]
  62. RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
  63. RewriteCond %{HTTP_USER_AGENT} ^InterGET [NC,OR]
  64. RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [NC,OR]
  65. RewriteCond %{HTTP_USER_AGENT} ^InternetSeer\.com [NC,OR]
  66. RewriteCond %{HTTP_USER_AGENT} IRLbot [NC,OR]
  67. RewriteCond %{HTTP_USER_AGENT} ISC\ Systems\ iRc\ Search\ 2\.1 [NC,OR]
  68. RewriteCond %{HTTP_USER_AGENT} ^Java [NC,OR]
  69. RewriteCond %{HTTP_USER_AGENT} ^JetCar [NC,OR]
  70. RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [NC,OR]
  71. RewriteCond %{HTTP_USER_AGENT} ^larbin [NC,OR]
  72. RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [NC,OR]
  73. RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]
  74. RewriteCond %{HTTP_USER_AGENT} libwww-perl [NC,OR]
  75. RewriteCond %{HTTP_USER_AGENT} ^Link [NC,OR]
  76. RewriteCond %{HTTP_USER_AGENT} LinksManager.com_bot [NC,OR]
  77. RewriteCond %{HTTP_USER_AGENT} linkwalker [NC,OR]
  78. RewriteCond %{HTTP_USER_AGENT} lwp-trivial [NC,OR]
  79. RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [NC,OR]
  80. RewriteCond %{HTTP_USER_AGENT} ^Maxthon$ [NC,OR]
  81. RewriteCond %{HTTP_USER_AGENT} MFC_Tear_Sample [NC,OR]
  82. RewriteCond %{HTTP_USER_AGENT} ^microsoft\.url [NC,OR]
  83. RewriteCond %{HTTP_USER_AGENT} Microsoft\ URL\ Control [NC,OR]
  84. RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [NC,OR]
  85. RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [NC,OR]
  86. RewriteCond %{HTTP_USER_AGENT} Missigua\ Locator [NC,OR]
  87. RewriteCond %{HTTP_USER_AGENT} ^Mozilla\.*Indy [NC,OR]
  88. RewriteCond %{HTTP_USER_AGENT} ^Mozilla\.*NEWT [NC,OR]
  89. RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage [NC,OR]
  90. RewriteCond %{HTTP_USER_AGENT} ^Navroad [NC,OR]
  91. RewriteCond %{HTTP_USER_AGENT} ^NearSite [NC,OR]
  92. RewriteCond %{HTTP_USER_AGENT} ^NetAnts [NC,OR]
  93. RewriteCond %{HTTP_USER_AGENT} ^NetSpider [NC,OR]
  94. RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC,OR]
  95. RewriteCond %{HTTP_USER_AGENT} ^NetZIP [NC,OR]
  96. RewriteCond %{HTTP_USER_AGENT} ^Nutch [NC,OR]
  97. RewriteCond %{HTTP_USER_AGENT} ^Octopus [NC,OR]
  98. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [NC,OR]
  99. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [NC,OR]
  100. RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [NC,OR]
  101. RewriteCond %{HTTP_USER_AGENT} panscient.com [NC,OR]
  102. RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [NC,OR]
  103. RewriteCond %{HTTP_USER_AGENT} ^pavuk [NC,OR]
  104. RewriteCond %{HTTP_USER_AGENT} PECL::HTTP [NC,OR]
  105. RewriteCond %{HTTP_USER_AGENT} ^PeoplePal [NC,OR]
  106. RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [NC,OR]
  107. RewriteCond %{HTTP_USER_AGENT} PHPCrawl [NC,OR]
  108. RewriteCond %{HTTP_USER_AGENT} PleaseCrawl [NC,OR]
  109. RewriteCond %{HTTP_USER_AGENT} ^psbot [NC,OR]
  110. RewriteCond %{HTTP_USER_AGENT} ^RealDownload [NC,OR]
  111. RewriteCond %{HTTP_USER_AGENT} ^ReGet [NC,OR]
  112. RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 [NC,OR]
  113. RewriteCond %{HTTP_USER_AGENT} SBIder [NC,OR]
  114. RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ [NC,OR]
  115. RewriteCond %{HTTP_USER_AGENT} ^sitecheck\.internetseer\.com [NC,OR]
  116. RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [NC,OR]
  117. RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [NC,OR]
  118. RewriteCond %{HTTP_USER_AGENT} Snoopy [NC,OR]
  119. RewriteCond %{HTTP_USER_AGENT} Steeler [NC,OR]
  120. RewriteCond %{HTTP_USER_AGENT} ^SuperBot [NC,OR]
  121. RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [NC,OR]
  122. RewriteCond %{HTTP_USER_AGENT} ^Surfbot [NC,OR]
  123. RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [NC,OR]
  124. RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC,OR]
  125. RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola [NC,OR]
  126. RewriteCond %{HTTP_USER_AGENT} URI::Fetch [NC,OR]
  127. RewriteCond %{HTTP_USER_AGENT} urllib [NC,OR]
  128. RewriteCond %{HTTP_USER_AGENT} User-Agent [NC,OR]
  129. RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [NC,OR]
  130. RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [NC,OR]
  131. RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [NC,OR]
  132. RewriteCond %{HTTP_USER_AGENT} Web\ Sucker [NC,OR]
  133. RewriteCond %{HTTP_USER_AGENT} webalta [NC,OR]
  134. RewriteCond %{HTTP_USER_AGENT} ^WebAuto [NC,OR]
  135. RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
  136. RewriteCond %{HTTP_USER_AGENT} WebCollage [NC,OR]
  137. RewriteCond %{HTTP_USER_AGENT} ^WebCopier [NC,OR]
  138. RewriteCond %{HTTP_USER_AGENT} ^WebFetch [NC,OR]
  139. RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [NC,OR]
  140. RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [NC,OR]
  141. RewriteCond %{HTTP_USER_AGENT} ^WebReaper [NC,OR]
  142. RewriteCond %{HTTP_USER_AGENT} ^WebSauger [NC,OR]
  143. RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [NC,OR]
  144. RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [NC,OR]
  145. RewriteCond %{HTTP_USER_AGENT} ^WebStripper [NC,OR]
  146. RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [NC,OR]
  147. RewriteCond %{HTTP_USER_AGENT} ^WebZIP [NC,OR]
  148. RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II [NC,OR]
  149. RewriteCond %{HTTP_USER_AGENT} WEP\ Search [NC,OR]
  150. RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
  151. RewriteCond %{HTTP_USER_AGENT} ^Widow [NC,OR]
  152. RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize [NC,OR]
  153. RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [NC,OR]
  154. RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [NC,OR]
  155. RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR]
  156. RewriteCond %{HTTP_USER_AGENT} zermelo [NC,OR]
  157. RewriteCond %{HTTP_USER_AGENT} ^Zeus [NC,OR]
  158. RewriteCond %{HTTP_USER_AGENT} ^Zeus\.*Webster [NC,OR]
  159. RewriteCond %{HTTP_USER_AGENT} ZyBorg [NC]
  160. RewriteRule ^.* - [F,L]
  161. # Abuse bot blocking rule end
  162. order allow,deny
  163. allow from all
  164. # Start Custom Blocks
  165. # Bluecoat
  166. deny from 8.21.4.254
  167. deny from 65.46.48.192/30
  168. deny from 65.160.238.176/28
  169. deny from 85.92.222.0/24
  170. deny from 206.51.36.0/22
  171. deny from 216.52.23.0/24
  172. # cyveillance (already blocked 38.*)
  173. deny from 38.100.19.8/29
  174. deny from 38.100.21.0/24
  175. deny from 38.100.41.64/26
  176. deny from 38.105.71.0/25
  177. deny from 38.105.83.0/27
  178. deny from 38.112.21.140/30
  179. deny from 38.118.42.32/29
  180. deny from 65.213.208.128/27
  181. deny from 65.222.176.96/27
  182. deny from 65.222.185.72/29
  183. # Cyberpatrol
  184. deny from 38.103.17.160/27
  185. # Internet Identity - Anti-Phishing
  186. deny from 66.113.96.0/20
  187. deny from 70.35.113.192/27
  188. # Ironport
  189. deny from 204.15.80.0/22
  190. # Lightspeed Systems Security
  191. deny from 66.17.15.128/26
  192. deny from 69.84.207.32/27
  193. deny from 69.84.207.128/25
  194. # Layered Technologies
  195. deny from 72.36.128.0/17
  196. deny from 72.232.0.0/16
  197. deny from 72.233.0.0/17
  198. deny from 216.32.0.0/14
  199. # M86
  200. deny from 67.192.231.224/29
  201. deny from 208.90.236.0/22
  202. # McAfee-Secure-Computing
  203. deny from 69.48.241.64/26
  204. deny from 80.66.0.0/19
  205. deny from 192.55.214.0/24
  206. deny from 207.67.117.0/24
  207. # Phish-Inspector.com
  208. deny from 209.147.127.208/28
  209. # Prescient Software, Inc. Phishmongers
  210. deny from 198.186.190.0/23
  211. deny from 198.186.192.0/23
  212. deny from 198.186.194.0/24
  213. # PSI network
  214. deny from 38.0.0.0/8
  215. # urlfilterdb
  216. deny from 207.210.99.32/29
  217. # websense-in.car1.sandiego1.level3.net
  218. deny from 4.53.120.22
  219. # Websense
  220. deny from 66.194.6.0/24
  221. deny from 67.117.201.128/28
  222. deny from 69.67.32.0/20
  223. deny from 131.191.87.0/24
  224. deny from 204.15.64.0/21
  225. deny from 208.80.192.0/21
  226. deny from 212.62.26.64/27
  227. deny from 213.168.226.0/24
  228. deny from 213.168.241.0/30
  229. deny from 213.168.242.0/30
  230. deny from 213.236.150.16/28
  231. # Yandex
  232. deny from 77.88.0.0/18
  233. deny from 77.88.22.0/23
  234. deny from 77.88.24.0/21
  235. deny from 77.88.24.0/22
  236. deny from 77.88.28.0/22
  237. deny from 77.88.36.0/23
  238. deny from 77.88.42.0/23
  239. deny from 77.88.44.0/24
  240. deny from 77.88.50.0/23
  241. deny from 87.250.224.0/19
  242. deny from 87.250.230.0/23
  243. deny from 87.250.252.0/22
  244. deny from 93.158.128.0/18
  245. deny from 93.158.137.0/24
  246. deny from 93.158.144.0/21
  247. deny from 93.158.144.0/23
  248. deny from 93.158.146.0/23
  249. deny from 93.158.148.0/22
  250. deny from 95.108.128.0/17
  251. deny from 95.108.128.0/24
  252. deny from 95.108.152.0/22
  253. deny from 95.108.216.0/23
  254. deny from 95.108.240.0/21
  255. deny from 95.108.248.0/23
  256. deny from 178.154.128.0/17
  257. deny from 178.154.160.0/22
  258. deny from 178.154.164.0/23
  259. deny from 199.36.240.0/22
  260. deny from 213.180.192.0/19
  261. deny from 213.180.204.0/24
  262. deny from 213.180.206.0/23
  263. deny from 213.180.209.0/24
  264. deny from 213.180.218.0/23
  265. deny from 213.180.220.0/23
  266. # End HackRepair.com Blacklist
  267.  
  268. Order allow,deny
  269. Allow from all
  270. Deny from 66.197.252.103
  271. Deny from 66.240.155.113
  272. Deny from 69.58.178.56
  273. Deny from 74.200.72.218
  274. Deny from 118.139.162.33
  275. Deny from 122.155.1.45
  276. Deny from 188.40.102.147
  277. Deny from 195.190.13.26
  278. Deny from 208.87.242.44
  279. Deny from 216.97.227.60
  280. Deny from 200.98.174.82
  281. Deny from 220.225.146.35
  282. Deny from 222.161.137.80
  283. Deny from 72.167.191.0/24
  284. Deny from 72.167.191.1
  285.  
  286. <files .htaccess>
  287. Order allow,deny
  288. Deny from all
  289. </files>
  290.  
  291. <files readme.html>
  292. Order allow,deny
  293. Deny from all
  294. </files>
  295.  
  296. <files readme.txt>
  297. Order allow,deny
  298. Deny from all
  299. </files>
  300.  
  301. <files install.php>
  302. Order allow,deny
  303. Deny from all
  304. </files>
  305.  
  306. <files wp-config.php>
  307. Order allow,deny
  308. Deny from all
  309. </files>
  310.  
  311. <IfModule mod_rewrite.c>
  312. RewriteEngine On
  313.  
  314. RewriteRule ^wp-admin/includes/ - [F,L]
  315. RewriteRule !^wp-includes/ - [S=3]
  316. RewriteCond %{SCRIPT_FILENAME} !^(.*)wp-includes/ms-files.php
  317. RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
  318. RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
  319. RewriteRule ^wp-includes/theme-compat/ - [F,L]
  320.  
  321. RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC]
  322. RewriteRule ^(.*)$ - [F,L]
  323.  
  324. RewriteCond %{REQUEST_METHOD} POST
  325. RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php*
  326. RewriteCond %{HTTP_REFERER} !^(.*)com.au.* [OR]
  327. RewriteCond %{HTTP_USER_AGENT} ^$
  328. RewriteRule ^(.*)$ - [F,L]
  329.  
  330. RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
  331. RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
  332. RewriteCond %{QUERY_STRING} tag\= [NC,OR]
  333. RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]
  334. RewriteCond %{QUERY_STRING} http\:  [NC,OR]
  335. RewriteCond %{QUERY_STRING} https\:  [NC,OR]
  336. RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
  337. RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]
  338. RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
  339. RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
  340. RewriteCond %{QUERY_STRING} ^.*(&#x22;|&#x27;|&#x3C;|&#x3E;|&#x5C;|&#x7B;|&#x7C;).* [NC,OR]
  341. RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR]
  342. RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR]
  343. RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
  344. RewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC]
  345. RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
  346. RewriteRule ^(.*)$ - [F,L]
  347.  
  348. </IfModule>
  349.  
  350. # END Better WP Security
  351.  
  352. Deny from all
  353. </files>
  354.  
  355. <files install.php>
  356. Order allow,deny
  357. Deny from all
  358. </files>
  359.  
  360. <files wp-config.php>
  361. Order allow,deny
  362. Deny from all
  363. </files>
  364.  
  365. <IfModule mod_rewrite.c>
  366. RewriteEngine On
  367.  
  368. RewriteRule ^wp-admin/includes/ - [F,L]
  369. RewriteRule !^wp-includes/ - [S=3]
  370. RewriteCond %{SCRIPT_FILENAME} !^(.*)wp-includes/ms-files.php
  371. RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
  372. RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
  373. RewriteRule ^wp-includes/theme-compat/ - [F,L]
  374.  
  375. RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC]
  376. RewriteRule ^(.*)$ - [F,L]
  377.  
  378. RewriteCond %{REQUEST_METHOD} POST
  379. RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php*
  380. RewriteCond %{HTTP_REFERER} !^(.*)com.au.* [OR]
  381. RewriteCond %{HTTP_USER_AGENT} ^$
  382. RewriteRule ^(.*)$ - [F,L]
  383.  
  384. RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
  385. RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
  386. RewriteCond %{QUERY_STRING} tag\= [NC,OR]
  387. RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]
  388. RewriteCond %{QUERY_STRING} http\:  [NC,OR]
  389. RewriteCond %{QUERY_STRING} https\:  [NC,OR]
  390. RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
  391. RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]
  392. RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
  393. RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
  394. RewriteCond %{QUERY_STRING} ^.*(&#x22;|&#x27;|&#x3C;|&#x3E;|&#x5C;|&#x7B;|&#x7C;).* [NC,OR]
  395. RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR]
  396. RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR]
  397. RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
  398. RewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC]
  399. RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
  400. RewriteRule ^(.*)$ - [F,L]
  401.  
  402. </IfModule>
  403.  
  404. # END Better WP Security
  405.  
  406. RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
  407. RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
  408. RewriteRule ^wp-includes/theme-compat/ - [F,L]
  409.  
  410. RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC]
  411. RewriteRule ^(.*)$ - [F,L]
  412.  
  413. RewriteCond %{REQUEST_METHOD} POST
  414. RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php*
  415. RewriteCond %{HTTP_REFERER} !^(.*)com.au.* [OR]
  416. RewriteCond %{HTTP_USER_AGENT} ^$
  417. RewriteRule ^(.*)$ - [F,L]
  418.  
  419. RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
  420. RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
  421. RewriteCond %{QUERY_STRING} tag\= [NC,OR]
  422. RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]
  423. RewriteCond %{QUERY_STRING} http\:  [NC,OR]
  424. RewriteCond %{QUERY_STRING} https\:  [NC,OR]
  425. RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
  426. RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]
  427. RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
  428. RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
  429. RewriteCond %{QUERY_STRING} ^.*(&#x22;|&#x27;|&#x3C;|&#x3E;|&#x5C;|&#x7B;|&#x7C;).* [NC,OR]
  430. RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR]
  431. RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR]
  432. RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
  433. RewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC]
  434. RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
  435. RewriteRule ^(.*)$ - [F,L]
  436.  
  437. </IfModule>
  438.  
  439. # END Better WP Security
  440.  
  441. RewriteCond %{HTTP_USER_AGENT} ^NetAnts [NC,OR]
  442. RewriteCond %{HTTP_USER_AGENT} ^NetSpider [NC,OR]
  443. RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC,OR]
  444. RewriteCond %{HTTP_USER_AGENT} ^NetZIP [NC,OR]
  445. RewriteCond %{HTTP_USER_AGENT} ^Nutch [NC,OR]
  446. RewriteCond %{HTTP_USER_AGENT} ^Octopus [NC,OR]
  447. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [NC,OR]
  448. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [NC,OR]
  449. RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [NC,OR]
  450. RewriteCond %{HTTP_USER_AGENT} panscient.com [NC,OR]
  451. RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [NC,OR]
  452. RewriteCond %{HTTP_USER_AGENT} ^pavuk [NC,OR]
  453. RewriteCond %{HTTP_USER_AGENT} PECL::HTTP [NC,OR]
  454. RewriteCond %{HTTP_USER_AGENT} ^PeoplePal [NC,OR]
  455. RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [NC,OR]
  456. RewriteCond %{HTTP_USER_AGENT} PHPCrawl [NC,OR]
  457. RewriteCond %{HTTP_USER_AGENT} PleaseCrawl [NC,OR]
  458. RewriteCond %{HTTP_USER_AGENT} ^psbot [NC,OR]
  459. RewriteCond %{HTTP_USER_AGENT} ^RealDownload [NC,OR]
  460. RewriteCond %{HTTP_USER_AGENT} ^ReGet [NC,OR]
  461. RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 [NC,OR]
  462. RewriteCond %{HTTP_USER_AGENT} SBIder [NC,OR]
  463. RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ [NC,OR]
  464. RewriteCond %{HTTP_USER_AGENT} ^sitecheck\.internetseer\.com [NC,OR]
  465. RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [NC,OR]
  466. RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [NC,OR]
  467. RewriteCond %{HTTP_USER_AGENT} Snoopy [NC,OR]
  468. RewriteCond %{HTTP_USER_AGENT} Steeler [NC,OR]
  469. RewriteCond %{HTTP_USER_AGENT} ^SuperBot [NC,OR]
  470. RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [NC,OR]
  471. RewriteCond %{HTTP_USER_AGENT} ^Surfbot [NC,OR]
  472. RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [NC,OR]
  473. RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC,OR]
  474. RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola [NC,OR]
  475. RewriteCond %{HTTP_USER_AGENT} URI::Fetch [NC,OR]
  476. RewriteCond %{HTTP_USER_AGENT} urllib [NC,OR]
  477. RewriteCond %{HTTP_USER_AGENT} User-Agent [NC,OR]
  478. RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [NC,OR]
  479. RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [NC,OR]
  480. RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [NC,OR]
  481. RewriteCond %{HTTP_USER_AGENT} Web\ Sucker [NC,OR]
  482. RewriteCond %{HTTP_USER_AGENT} webalta [NC,OR]
  483. RewriteCond %{HTTP_USER_AGENT} ^WebAuto [NC,OR]
  484. RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
  485. RewriteCond %{HTTP_USER_AGENT} WebCollage [NC,OR]
  486. RewriteCond %{HTTP_USER_AGENT} ^WebCopier [NC,OR]
  487. RewriteCond %{HTTP_USER_AGENT} ^WebFetch [NC,OR]
  488. RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [NC,OR]
  489. RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [NC,OR]
  490. RewriteCond %{HTTP_USER_AGENT} ^WebReaper [NC,OR]
  491. RewriteCond %{HTTP_USER_AGENT} ^WebSauger [NC,OR]
  492. RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [NC,OR]
  493. RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [NC,OR]
  494. RewriteCond %{HTTP_USER_AGENT} ^WebStripper [NC,OR]
  495. RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [NC,OR]
  496. RewriteCond %{HTTP_USER_AGENT} ^WebZIP [NC,OR]
  497. RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II [NC,OR]
  498. RewriteCond %{HTTP_USER_AGENT} WEP\ Search [NC,OR]
  499. RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
  500. RewriteCond %{HTTP_USER_AGENT} ^Widow [NC,OR]
  501. RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize [NC,OR]
  502. RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [NC,OR]
  503. RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [NC,OR]
  504. RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR]
  505. RewriteCond %{HTTP_USER_AGENT} zermelo [NC,OR]
  506. RewriteCond %{HTTP_USER_AGENT} ^Zeus [NC,OR]
  507.  
  508. AGENT} ^larbin [NC,OR]
  509. RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [NC,OR]
  510. RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]
  511. RewriteCond %{HTTP_USER_AGENT} libwww-perl [NC,OR]
  512. RewriteCond %{HTTP_USER_AGENT} ^Link [NC,OR]
  513. RewriteCond %{HTTP_USER_AGENT} LinksManager.com_bot [NC,OR]
  514. RewriteCond %{HTTP_USER_AGENT} linkwalker [NC,OR]
  515. RewriteCond %{HTTP_USER_AGENT} lwp-trivial [NC,OR]
  516. RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [NC,OR]
  517. RewriteCond %{HTTP_USER_AGENT} ^Maxthon$ [NC,OR]
  518. RewriteCond %{HTTP_USER_AGENT} MFC_Tear_Sample [NC,OR]
  519. RewriteCond %{HTTP_USER_AGENT} ^microsoft\.url [NC,OR]
  520. RewriteCond %{HTTP_USER_AGENT} Microsoft\ URL\ Control [NC,OR]
  521. RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [NC,OR]
  522. RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [NC,OR]
  523. RewriteCond %{HTTP_USER_AGENT} Missigua\ Locator [NC,OR]
  524. RewriteCond %{HTTP_USER_AGENT} ^Mozilla\.*Indy [NC,OR]
  525. RewriteCond %{HTTP_USER_AGENT} ^Mozilla\.*NEWT [NC,OR]
  526. RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage [NC,OR]
  527. RewriteCond %{HTTP_USER_AGENT} ^Navroad [NC,OR]
  528. RewriteCond %{HTTP_USER_AGENT} ^NearSite [NC,OR]
  529. RewriteCond %{HTTP_USER_AGENT} ^NetAnts [NC,OR]
  530. RewriteCond %{HTTP_USER_AGENT} ^NetSpider [NC,OR]
  531. RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC,OR]
  532. RewriteCond %{HTTP_USER_AGENT} ^NetZIP [NC,OR]
  533. RewriteCond %{HTTP_USER_AGENT} ^Nutch [NC,OR]
  534. RewriteCond %{HTTP_USER_AGENT} ^Octopus [NC,OR]
  535. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [NC,OR]
  536. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [NC,OR]
  537. RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [NC,OR]
  538. RewriteCond %{HTTP_USER_AGENT} panscient.com [NC,OR]
  539. RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [NC,OR]
  540. RewriteCond %{HTTP_USER_AGENT} ^pavuk [NC,OR]
  541. RewriteCond %{HTTP_USER_AGENT} PECL::HTTP [NC,OR]
  542. RewriteCond %{HTTP_USER_AGENT} ^PeoplePal [NC,OR]
  543. RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [NC,OR]
  544. RewriteCond %{HTTP_USER_AGENT} PHPCrawl [NC,OR]
  545. RewriteCond %{HTTP_USER_AGENT} PleaseCrawl [NC,OR]
  546. RewriteCond %{HTTP_USER_AGENT} ^psbot [NC,OR]
  547. RewriteCond %{HTTP_USER_AGENT} ^RealDownload [NC,OR]
  548. RewriteCond %{HTTP_USER_AGENT} ^ReGet [NC,OR]
  549. RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 [NC,OR]
  550. RewriteCond %{HTTP_USER_AGENT} SBIder [NC,OR]
  551. RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ [NC,OR]
  552. RewriteCond %{HTTP_USER_AGENT} ^sitecheck\.internetseer\.com [NC,OR]
  553. RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [NC,OR]
  554. RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [NC,OR]
  555. RewriteCond %{HTTP_USER_AGENT} Snoopy [NC,OR]
  556. RewriteCond %{HTTP_USER_AGENT} Steeler [NC,OR]
  557. RewriteCond %{HTTP_USER_AGENT} ^SuperBot [NC,OR]
  558. RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [NC,OR]
  559. RewriteCond %{HTTP_USER_AGENT} ^Surfbot [NC,OR]
  560. RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [NC,OR]
  561. RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC,OR]
  562. RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola [NC,OR]
  563. RewriteCond %{HTTP_USER_AGENT} URI::Fetch [NC,OR]
  564. RewriteCond %{HTTP_USER_AGENT} urllib [NC,OR]
  565. RewriteCond %{HTTP_USER_AGENT} User-Agent [NC,OR]
  566. RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [NC,OR]
  567. RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [NC,OR]
  568. RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [NC,OR]
  569. RewriteCond %{HTTP_USER_AGENT} Web\ Sucker [NC,OR]
  570. RewriteCond %{HTTP_USER_AGENT} webalta [NC,OR]
  571. RewriteCond %{HTTP_USER_AGENT} ^WebAuto [NC,OR]
  572. RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
  573. RewriteCond %{HTTP_USER_AGENT} WebCollage [NC,OR]
  574. RewriteCond %{HTTP_USER_AGENT} ^WebCopier [NC,OR]
  575. RewriteCond %{HTTP_USER_AGENT} ^WebFetch [NC,OR]
  576. RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [NC,OR]
  577. RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [NC,OR]
  578. RewriteCond %{HTTP_USER_AGENT} ^WebReaper [NC,OR]
  579. RewriteCond %{HTTP_USER_AGENT} ^WebSauger [NC,OR]
  580. RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [NC,OR]
  581. RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [NC,OR]
  582. RewriteCond %{HTTP_USER_AGENT} ^WebStripper [NC,OR]
  583. RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [NC,OR]
  584. RewriteCond %{HTTP_USER_AGENT} ^WebZIP [NC,OR]
  585. RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II [NC,OR]
  586. RewriteCond %{HTTP_USER_AGENT} WEP\ Search [NC,OR]
  587. RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
  588. RewriteCond %{HTTP_USER_AGENT} ^Widow [NC,OR]
  589. RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize [NC,OR]
  590. RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [NC,OR]
  591. RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [NC,OR]
  592. RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR]
  593. RewriteCond %{HTTP_USER_AGENT} zermelo [NC,OR]
  594. RewriteCond %{HTTP_USER_AGENT} ^Zeus [NC,OR]
  595.  
  596. deny from 77.88.50.0/23
  597. deny from 87.250.224.0/19
  598. deny from 87.250.230.0/23
  599. deny from 87.250.252.0/22
  600. deny from 93.158.128.0/18
  601. deny from 93.158.137.0/24
  602. deny from 93.158.144.0/21
  603. deny from 93.158.144.0/23
  604. deny from 93.158.146.0/23
  605. deny from 93.158.148.0/22
  606. deny from 95.108.128.0/17
  607. deny from 95.108.128.0/24
  608. deny from 95.108.152.0/22
  609. deny from 95.108.216.0/23
  610. deny from 95.108.240.0/21
  611. deny from 95.108.248.0/23
  612. deny from 178.154.128.0/17
  613. deny from 178.154.160.0/22
  614. deny from 178.154.164.0/23
  615. deny from 199.36.240.0/22
  616. deny from 213.180.192.0/19
  617. deny from 213.180.204.0/24
  618. deny from 213.180.206.0/23
  619. deny from 213.180.209.0/24
  620. deny from 213.180.218.0/23
  621. deny from 213.180.220.0/23
  622. # End HackRepair.com Blacklist
  623.  
  624. Order allow,deny
  625. Allow from all
  626. Deny from 66.197.252.103
  627. Deny from 66.240.155.113
  628. Deny from 69.58.178.56
  629. Deny from 74.200.72.218
  630. Deny from 118.139.162.33
  631. Deny from 122.155.1.45
  632. Deny from 188.40.102.147
  633. Deny from 195.190.13.26
  634. Deny from 208.87.242.44
  635. Deny from 216.97.227.60
  636. Deny from 200.98.174.82
  637. Deny from 220.225.146.35
  638. Deny from 222.161.137.80
  639. Deny from 72.167.191.0/24
  640. Deny from 72.167.191.1
  641.  
  642. <files .htaccess>
  643. Order allow,deny
  644. Deny from all
  645. </files>
  646.  
  647. <files readme.html>
  648. Order allow,deny
  649. Deny from all
  650. </files>
  651.  
  652. <files readme.txt>
  653. Order allow,deny
  654. Deny from all
  655. </files>
  656.  
  657. <files install.php>
  658. Order allow,deny
  659. Deny from all
  660. </files>
  661.  
  662. <files wp-config.php>
  663. Order allow,deny
  664. Deny from all
  665. </files>
  666.  
  667. <IfModule mod_rewrite.c>
  668. RewriteEngine On
  669.  
  670. RewriteRule ^wp-admin/includes/ - [F,L]
  671. RewriteRule !^wp-includes/ - [S=3]
  672. RewriteCond %{SCRIPT_FILENAME} !^(.*)wp-includes/ms-files.php
  673. RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
  674. RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
  675. RewriteRule ^wp-includes/theme-compat/ - [F,L]
  676.  
  677. RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC]
  678. RewriteRule ^(.*)$ - [F,L]
  679.  
  680. RewriteCond %{REQUEST_METHOD} POST
  681. RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php*
  682. RewriteCond %{HTTP_REFERER} !^(.*)com.au.* [OR]
  683. RewriteCond %{HTTP_USER_AGENT} ^$
  684. RewriteRule ^(.*)$ - [F,L]
  685.  
  686. RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
  687. RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
  688. RewriteCond %{QUERY_STRING} tag\= [NC,OR]
  689. RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]
  690. RewriteCond %{QUERY_STRING} http\:  [NC,OR]
  691. RewriteCond %{QUERY_STRING} https\:  [NC,OR]
  692. RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
  693. RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]
  694. RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
  695. RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
  696. RewriteCond %{QUERY_STRING} ^.*(&#x22;|&#x27;|&#x3C;|&#x3E;|&#x5C;|&#x7B;|&#x7C;).* [NC,OR]
  697. RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR]
  698. RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR]
  699. RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
  700. RewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC]
  701. RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
  702. RewriteRule ^(.*)$ - [F,L]
  703.  
  704. </IfModule>
  705.  
  706. # END Better WP Security
  707.  
  708. RewriteCond %{HTTP_USER_AGENT} ^NetAnts [NC,OR]
  709. RewriteCond %{HTTP_USER_AGENT} ^NetSpider [NC,OR]
  710. RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC,OR]
  711. RewriteCond %{HTTP_USER_AGENT} ^NetZIP [NC,OR]
  712. RewriteCond %{HTTP_USER_AGENT} ^Nutch [NC,OR]
  713. RewriteCond %{HTTP_USER_AGENT} ^Octopus [NC,OR]
  714. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [NC,OR]
  715. RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [NC,OR]
  716. RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [NC,OR]
  717. RewriteCond %{HTTP_USER_AGENT} panscient.com [NC,OR]
  718. RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [NC,OR]
  719. RewriteCond %{HTTP_USER_AGENT} ^pavuk [NC,OR]
  720. RewriteCond %{HTTP_USER_AGENT} PECL::HTTP [NC,OR]
  721. RewriteCond %{HTTP_USER_AGENT} ^PeoplePal [NC,OR]
  722. RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [NC,OR]
  723. RewriteCond %{HTTP_USER_AGENT} PHPCrawl [NC,OR]
  724. RewriteCond %{HTTP_USER_AGENT} PleaseCrawl [NC,OR]
  725. RewriteCond %{HTTP_USER_AGENT} ^psbot [NC,OR]
  726. RewriteCond %{HTTP_USER_AGENT} ^RealDownload [NC,OR]
  727. RewriteCond %{HTTP_USER_AGENT} ^ReGet [NC,OR]
  728. RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 [NC,OR]
  729. RewriteCond %{HTTP_USER_AGENT} SBIder [NC,OR]
  730. RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ [NC,OR]
  731. RewriteCond %{HTTP_USER_AGENT} ^sitecheck\.internetseer\.com [NC,OR]
  732. RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [NC,OR]
  733. RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [NC,OR]
  734. RewriteCond %{HTTP_USER_AGENT} Snoopy [NC,OR]
  735. RewriteCond %{HTTP_USER_AGENT} Steeler [NC,OR]
  736. RewriteCond %{HTTP_USER_AGENT} ^SuperBot [NC,OR]
  737. RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [NC,OR]
  738. RewriteCond %{HTTP_USER_AGENT} ^Surfbot [NC,OR]
  739. RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [NC,OR]
  740. RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC,OR]
  741. RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola [NC,OR]
  742. RewriteCond %{HTTP_USER_AGENT} URI::Fetch [NC,OR]
  743. RewriteCond %{HTTP_USER_AGENT} urllib [NC,OR]
  744. RewriteCond %{HTTP_USER_AGENT} User-Agent [NC,OR]
  745. RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [NC,OR]
  746. RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [NC,OR]
  747. RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [NC,OR]
  748. RewriteCond %{HTTP_USER_AGENT} Web\ Sucker [NC,OR]
  749. RewriteCond %{HTTP_USER_AGENT} webalta [NC,OR]
  750. RewriteCond %{HTTP_USER_AGENT} ^WebAuto [NC,OR]
  751. RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
  752. RewriteCond %{HTTP_USER_AGENT} WebCollage [NC,OR]
  753. RewriteCond %{HTTP_USER_AGENT} ^WebCopier [NC,OR]
  754. RewriteCond %{HTTP_USER_AGENT} ^WebFetch [NC,OR]
  755. RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [NC,OR]
  756. RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [NC,OR]
  757. RewriteCond %{HTTP_USER_AGENT} ^WebReaper [NC,OR]
  758. RewriteCond %{HTTP_USER_AGENT} ^WebSauger [NC,OR]
  759. RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [NC,OR]
  760. RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [NC,OR]
  761. RewriteCond %{HTTP_USER_AGENT} ^WebStripper [NC,OR]
  762. RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [NC,OR]
  763. RewriteCond %{HTTP_USER_AGENT} ^WebZIP [NC,OR]
  764. RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II [NC,OR]
  765. RewriteCond %{HTTP_USER_AGENT} WEP\ Search [NC,OR]
  766. RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
  767. RewriteCond %{HTTP_USER_AGENT} ^Widow [NC,OR]
  768. RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize [NC,OR]
  769. RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [NC,OR]
  770. RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [NC,OR]
  771. RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR]
  772. RewriteCond %{HTTP_USER_AGENT} zermelo [NC,OR]
  773. RewriteCond %{HTTP_USER_AGENT} ^Zeus [NC,OR]