Advertisement
roisx

htaccess

Oct 19th, 2022 (edited)
1,373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 13.44 KB | None | 0 0
  1.  RewriteEngine On
  2. RewriteCond %{HTTP_REFERER} ^http://.*amazonaws\.com [OR]
  3. RewriteCond %{REMOTE_HOST} ^.*\.compute-1\.amazonaws\.com$ [NC,OR]
  4. RewriteCond %{HTTP_USER_AGENT} "AISearchBot" [NC,OR]
  5. RewriteCond %{HTTP_USER_AGENT} "woriobot" [NC,OR]
  6. RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR]
  7. RewriteCond %{HTTP_USER_AGENT} "NetSeer" [NC,OR]
  8. RewriteCond %{HTTP_USER_AGENT} "Nutch" [NC]
  9. RewriteCond %{HTTP_USER_AGENT} Google [NC]
  10. RewriteCond %{REMOTE_ADDR} !^66\.249\.[6-9][0-9]\.
  11. RewriteCond %{HTTP_REFERER} google\.com [NC,OR]
  12. RewriteCond %{HTTP_REFERER} amazon\.com [NC,OR]
  13. RewriteCond %{HTTP_REFERER} digitalocean\.com [NC,OR]
  14. RewriteCond %{HTTP_REFERER} facebook\.com [NC,OR]
  15. RewriteCond %{HTTP_REFERER} yahoo\.com [NC,OR]
  16. RewriteCond %{HTTP_REFERER} bing\.com [NC,OR]
  17. RewriteCond %{HTTP_REFERER} msn\.com [NC,OR]
  18. RewriteCond %{HTTP_REFERER} aol\.com [NC,OR]
  19. RewriteCond %{HTTP_REFERER} hotbot\.com [NC,OR]
  20. RewriteCond %{HTTP_REFERER} phishtank\.com [NC,OR]
  21. RewriteCond %{HTTP_REFERER} infoseek\.co\.jp [NC,OR]
  22. RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?http://safebrowsing-cache.google.com/.*$ [NC]
  23. RewriteCond %{HTTP_USER_AGENT} ^.compute-1.amazonaws.com
  24. RewriteRule !^robots\.txt$ - [F]
  25.  
  26.  
  27. RewriteBase /  
  28. SetEnvIfNoCase User-Agent "^DigitalOcean, LLC" bad_user
  29. SetEnvIfNoCase User-Agent "^Amazon Technologies Inc." bad_user
  30. SetEnvIfNoCase User-Agent "^Amazon.com, Inc." bad_user
  31. SetEnvIfNoCase User-Agent "^Google LLC" bad_user
  32. SetEnvIfNoCase User-Agent "^FranTech Solutions" bad_user
  33. SetEnvIfNoCase User-Agent "^Tier.Net Technologies LLC" bad_user
  34. SetEnvIfNoCase User-Agent "^OVH SAS" bad_user
  35. Deny from env=bad_user
  36.  
  37.  
  38.  
  39.  
  40. order allow,deny
  41. Deny from 114.5.252.251
  42. Deny from 54.164.137.113
  43. Deny from 3.80.206.0
  44. Deny from 3.83.2.63
  45. Deny from 44.209.183.101
  46. Deny from 54.85.18.1
  47. Deny from 3.92.77.118
  48. Deny from 54.92.182.94
  49. Deny from 18.234.49.75
  50. Deny from 120.29.86.33
  51. Deny from 18.209.34.128
  52. Deny from 54.162.181.53
  53. Deny from 34.201.93.168
  54. Deny from 44.212.13.146
  55. Deny from 172.226.36.0
  56. Deny from 18.215.241.243
  57. Deny from 193.235.141.176
  58. Deny from 54.200.195.71
  59. Deny from 166.137.242.33
  60. Deny from 63.88.73.136
  61. Deny from 136.52.121.249
  62. Deny from 193.235.141.170
  63. Deny from 45.20.124.231
  64. Deny from 35.160.223.101
  65. Deny from 35.163.43.241
  66. Deny from 157.55.39.130
  67. Deny from 3.93.50.134
  68. Deny from 44.192.82.243
  69. Deny from 3.87.199.94
  70. Deny from 159.223.113.136
  71. Deny from 35.185.241.102
  72. Deny from 54.227.0.76
  73. Deny from 3.238.180.210
  74. Deny from 44.197.235.200
  75. Deny from 54.144.202.183
  76. Deny from 54.91.105.1
  77. Deny from 206.127.208.20
  78. Deny from 34.213.226.31
  79. Deny from 45.23.52.114
  80. Deny from 193.56.116.236
  81. Deny from 172.225.248.163
  82. Deny from 63.88.73.135
  83. Deny from 193.235.141.172
  84. Deny from 192.241.203.62
  85. Deny from 107.77.90.50
  86. Deny from 104.28.39.140
  87. Deny from 104.28.94.190
  88. Deny from 193.235.141.171
  89. Deny from 171.22.229.234
  90. Deny from 45.146.55.10
  91. Deny from 52.55.48.23
  92. Deny from 68.108.43.198
  93. Deny from 34.216.165.174
  94. Deny from 52.90.158.73
  95. Deny from 65.87.55.67
  96. Deny from 185.128.178.35
  97. Deny from 107.77.214.5
  98. Deny from 54.187.99.90
  99. Deny from 70.163.214.71
  100. Deny from 104.171.158.24
  101. Deny from 54.70.53.60
  102. Deny from 216.131.88.5
  103. Deny from 199.254.199.44
  104. Deny from 162.222.195.110
  105. Deny from 166.137.139.27
  106. Deny from 138.91.26.194
  107. Deny from 87.115.231.232
  108. Deny from 164.90.241.135
  109. Deny from 107.77.218.200
  110. Deny from 42.83.147.34
  111. Deny from 35.245.188.175
  112. Deny from 44.201.252.74
  113. Deny from 35.225.82.182
  114. Deny from 104.28.77.172
  115. Deny from 138.68.7.212
  116. Deny from 208.101.228.63
  117. Deny from 65.154.226.220
  118. Deny from 44.195.47.10
  119. Deny from 66.249.75.169
  120. Deny from 166.137.252.114
  121. Deny from 66.249.83.61
  122. Deny from 166.137.240.98
  123. Deny from 54.149.247.203
  124. Deny from 18.215.234.166
  125. Deny from 35.91.12.9
  126. Deny from 166.137.118.96
  127. Deny from 140.248.0.1
  128. Deny from 69.123.60.25
  129. Deny from 66.249.83.59
  130. Deny from 66.249.93.59
  131. Deny from 199.7.135.66
  132. Deny from 52.36.189.137
  133. Deny from 107.77.227.174
  134. Deny from 68.81.184.223
  135. Deny from 166.137.143.112
  136. Deny from 107.77.231.224
  137. Deny from 107.72.176.64
  138. Deny from 166.137.248.85
  139. Deny from 195.201.41.238
  140. Deny from 35.89.163.102
  141. Deny from 65.163.114.68
  142. Deny from 107.77.230.150
  143. Deny from 66.249.83.63
  144. Deny from 34.211.116.30
  145. Deny from 66.249.88.3
  146. Deny from 98.54.215.135
  147. Deny from 23.94.74.107
  148. Deny from 173.44.36.82
  149. Deny from 128.14.209.162
  150. Deny from 176.67.82.3
  151. Deny from 216.151.183.4
  152. Deny from 128.90.65.48
  153. Deny from 202.43.6.4
  154. Deny from 54.184.84.15
  155. Deny from 166.137.118.86
  156. Deny from 207.46.13.113
  157. Deny from 69.176.1.5
  158. Deny from 130.149.80.199
  159. Deny from 107.77.226.154
  160. Deny from 185.156.172.168
  161. Deny from 37.120.142.232
  162. Deny from 100.34.87.172
  163. Deny from 54.84.185.162
  164. Deny from 51.195.90.229
  165. Deny from 51.210.182.66
  166. Deny from 146.59.157.229
  167. Deny from 52.33.137.75
  168. Deny from 54.37.233.116
  169. Deny from 209.141.41.193
  170. Deny from 45.18.142.130
  171. Deny from 166.137.125.65
  172. Deny from 18.236.124.118
  173. Deny from 34.208.130.27
  174. Deny from 34.217.178.136
  175. Deny from 13.213.50.240
  176. Deny from 8.2.209.241
  177. Deny from 35.93.123.4
  178. Deny from 35.91.175.101
  179. Deny from 107.77.220.40
  180. Deny from 34.223.250.254
  181. Deny from 34.222.56.28
  182. Deny from 146.255.187.5
  183. Deny from 23.114.115.72
  184. Deny from 151.213.188.107
  185. Deny from 159.65.113.67
  186. Deny from 107.77.253.17
  187. Deny from 193.235.141.168
  188. Deny from 206.127.208.5
  189. Deny from 23.94.255.80
  190. Deny from 130.255.166.80
  191. Deny from 65.154.226.171
  192. Deny from 193.235.141.178
  193. Deny from 171.22.229.10
  194. Deny from 35.90.137.187
  195. Deny from 35.160.212.69
  196. Deny from 35.92.3.18
  197. Deny from 35.89.190.148
  198. Deny from 45.16.223.89
  199. Deny from 66.102.7.59
  200. Deny from 107.119.69.62
  201. Deny from 185.128.178.146
  202. Deny from 54.245.28.69
  203. Deny from 35.88.70.186
  204. Deny from 71.46.96.46
  205. Deny from 18.236.116.90
  206. Deny from 107.77.234.93
  207. Deny from 104.148.85.48
  208. Deny from 166.137.17.16
  209. Deny from 209.150.244.208
  210. Deny from 35.87.202.132
  211. Deny from 52.40.137.228
  212. Deny from 107.72.162.87
  213. Deny from 35.86.113.98
  214. Deny from 92.16.223.154
  215. Deny from 136.60.130.206
  216. Deny from 166.137.90.52
  217. Deny from 166.137.240.113
  218. Deny from 172.226.7.7
  219. Deny from 193.235.141.177
  220. Deny from 92.40.205.84
  221. Deny from 193.148.16.251
  222. Deny from 197.242.157.110
  223. Deny from 104.168.34.153
  224. Deny from 54.187.140.142
  225. Deny from 73.198.242.12
  226. Deny from 70.120.161.158
  227. Deny from 37.120.138.146
  228. Deny from 35.90.105.144
  229. Deny from 23.104.98.113
  230. Deny from 209.236.88.241
  231. Deny from 8.2.209.247
  232. Deny from 66.165.2.117
  233. Deny from 207.244.87.164
  234. Deny from 185.181.61.23
  235. Deny from 34.194.77.149
  236. Deny from 52.203.79.33
  237. Deny from 54.174.250.226
  238. Deny from 18.205.227.71
  239. Deny from 54.36.162.160
  240. Deny from 51.91.125.152
  241. Deny from 166.137.139.90
  242. Deny from 89.104.111.6
  243. Deny from 166.137.246.32
  244. Deny from 63.117.14.70
  245. Deny from 35.91.105.102
  246. Deny from 65.154.226.109
  247. Deny from 107.77.203.40
  248. Deny from 18.237.151.51
  249. Deny from 107.120.41.24
  250. Deny from 170.75.132.218
  251. Deny from 34.220.239.237
  252. Deny from 64.127.170.51
  253. Deny from 54.214.66.173
  254. Deny from 3.223.141.53
  255. Deny from 68.75.8.14
  256. Deny from 54.191.109.214
  257. Deny from 66.249.75.173
  258. Deny from 66.249.88.207
  259. Deny from 35.86.78.74
  260. Deny from 68.48.69.6
  261. Deny from 107.72.164.113
  262. Deny from 198.7.237.197
  263. Deny from 104.28.103.18
  264. Deny from 216.177.189.132
  265. Deny from 67.44.240.1
  266. Deny from 54.244.155.185
  267. Deny from 108.31.29.245
  268. Deny from 128.147.28.72
  269. Deny from 34.238.41.65
  270. Deny from 63.88.73.138
  271. Deny from 74.139.225.49
  272. Deny from 18.236.74.158
  273. Deny from 35.245.82.188
  274. Deny from 64.233.172.91
  275. Deny from 193.235.141.181
  276. Deny from 35.163.15.43
  277. Deny from 109.70.100.26
  278. Deny from 166.137.102.54
  279. Deny from 67.45.112.198
  280. Deny from 68.0.193.99
  281. Deny from 34.123.27.24
  282. Deny from 107.77.203.217
  283. Deny from 50.220.83.186
  284. Deny from 35.86.121.8
  285. Deny from 34.217.65.171
  286. Deny from 68.12.190.232
  287. Deny from 35.86.93.189
  288. Deny from 107.77.218.168
  289. Deny from 35.86.159.51
  290. Deny from 191.96.206.56
  291. Deny from 54.189.159.129
  292. Deny from 18.119.118.17
  293. Deny from 100.21.77.226
  294. Deny from 34.217.42.37
  295. Deny from 35.92.145.239
  296. Deny from 166.137.126.61
  297. Deny from 54.185.153.184
  298. Deny from 166.205.101.19
  299. Deny from 66.2.49.14
  300. Deny from 35.165.79.132
  301. Deny from 166.137.125.88
  302. Deny from 185.165.171.46
  303. Deny from 68.230.67.123
  304. Deny from 128.237.82.8
  305. Deny from 166.137.246.35
  306. Deny from 166.137.10.45
  307. Deny from 54.36.148.180
  308. Deny from 52.43.83.240
  309. Deny from 52.11.220.137
  310. Deny from 34.221.178.191
  311. Deny from 162.252.127.133
  312. Deny from 34.219.109.16
  313. Deny from 34.212.25.192
  314. Deny from 66.249.77.91
  315. Deny from 74.125.214.105
  316. Deny from 3.95.163.206
  317. Deny from 107.72.164.81
  318. Deny from 166.137.10.132
  319. Deny from 166.137.8.85
  320. Deny from 166.137.248.111
  321. Deny from 18.236.245.87
  322. Deny from 107.72.176.59
  323. Deny from 45.31.179.127
  324. Deny from 35.86.96.148
  325. Deny from 166.137.248.36
  326. Deny from 68.97.205.33
  327. Deny from 166.137.90.31
  328. Deny from 157.55.39.65
  329. Deny from 107.77.220.19
  330. Deny from 50.0.2.196
  331. Deny from 34.222.26.62
  332. Deny from 50.215.182.211
  333. Deny from 104.28.85.122
  334. Deny from 104.28.85.132
  335. Deny from 166.137.10.86
  336. Deny from 63.117.14.134
  337. Deny from 63.117.14.4
  338. Deny from 166.205.101.27
  339. Deny from 107.72.162.55
  340. Deny from 176.74.192.85
  341. Deny from 107.77.230.76
  342. Deny from 72.41.0.243
  343. Deny from 35.2.206.191
  344. Deny from 45.90.61.43
  345. Deny from 166.137.113.25
  346. Deny from 74.125.215.75
  347. Deny from 74.125.214.103
  348. Deny from 100.37.17.143
  349. Deny from 54.213.27.232
  350. Deny from 35.88.131.70
  351. Deny from 107.127.32.5
  352. Deny from 207.171.205.81
  353. Deny from 209.236.88.243
  354. Deny from 166.137.136.64
  355. Deny from 209.236.88.246
  356. Deny from 45.90.62.98
  357. Deny from 34.214.136.43
  358. Deny from 18.237.24.119
  359. Deny from 68.55.174.70
  360. Deny from 35.90.43.113
  361. Deny from 166.137.125.89
  362. Deny from 166.137.139.54
  363. Deny from 54.184.186.97
  364. Deny from 66.249.88.125
  365. Deny from 107.72.162.62
  366. Deny from 107.72.162.92
  367. Deny from 66.249.72.174
  368. Deny from 66.249.83.4
  369. Deny from 54.218.241.176
  370. Deny from 67.166.150.56
  371. Deny from 66.249.72.178
  372. Deny from 35.91.216.122
  373. Deny from 68.45.156.195
  374. Deny from 68.4.131.193
  375. Deny from 205.213.114.69
  376. Deny from 45.221.68.131
  377. Deny from 45.31.65.101
  378. Deny from 84.17.46.195
  379. Deny from 20.210.89.132
  380. Deny from 104.28.79.145
  381. Deny from 64.145.67.9
  382. Deny from 205.185.222.20
  383. Deny from 18.158.72.58
  384. Deny from 8.40.185.156
  385. Deny from 104.28.57.245
  386. Deny from 54.218.111.151
  387. Deny from 64.130.106.3
  388. Deny from 185.220.101.27
  389. Deny from 46.166.139.111
  390. Deny from 64.246.133.4
  391. Deny from 63.153.110.87
  392. Deny from 34.222.111.125
  393. Deny from 3.144.23.230
  394. Deny from 18.222.130.226
  395. Deny from 54.91.105.1
  396. Deny from 3.238.180.210
  397. Deny from 34.201.93.168
  398. Deny from 35.175.245.128
  399. Deny from 44.212.13.146
  400. Deny from 44.201.252.74
  401. Deny from 52.90.158.73
  402. Deny from 3.87.199.94
  403. Deny from 54.227.0.76
  404. Deny from 44.192.82.243
  405. Deny from 52.55.48.23
  406. Deny from 35.175.232.49
  407. Deny from 54.224.217.221
  408. Deny from 34.239.131.127
  409. Deny from 54.224.107.223
  410. Deny from 54.242.122.13
  411. Deny from 54.81.24.122
  412. Deny from 52.90.1.47
  413. Deny from 54.144.202.183
  414. Deny from 54.221.147.75
  415. Deny from 44.209.183.101
  416. Deny from 54.164.137.113
  417. Deny from 3.80.206.0
  418. Deny from 18.234.245.126
  419. Deny from 34.207.233.209
  420. Deny from 54.198.40.186
  421. Deny from 52.90.214.117
  422. Deny from 3.84.132.200
  423. Deny from 54.198.203.174
  424. Deny from 3.239.49.162
  425. Deny from 54.91.124.164
  426. Deny from 54.87.109.63
  427. Deny from 34.217.65.171
  428. Deny from 54.202.223.165
  429. Deny from 35.90.93.155
  430. Deny from 34.219.109.16
  431. Deny from 34.215.253.74
  432. Deny from 54.186.219.13
  433. Deny from 35.92.114.51
  434. Deny from 18.237.127.111
  435. Deny from 54.147.132.212
  436. Deny from 54.234.253.187
  437. Deny from 3.82.50.216
  438. Deny from 3.80.249.2
  439. Deny from 54.196.89.27
  440. Deny from 52.90.219.56
  441. Deny from 54.162.189.163
  442. Deny from 3.95.163.54
  443. Deny from 54.179.247.29
  444. Deny from 54.87.125.109
  445. Deny from 35.153.204.128
  446. Deny from 54.81.182.32
  447. Deny from 3.85.113.14
  448. Deny from 54.91.199.64
  449. Deny from 34.228.26.20
  450. Deny from 54.162.176.151
  451. Deny from 54.242.28.44
  452. Deny from 34.207.224.101
  453. Deny from 54.226.130.29
  454. Deny from 18.234.89.122
  455. Deny from 3.95.232.147
  456. Deny from 23.20.136.140
  457. Deny from 34.237.242.122
  458. Deny from 35.174.134.195
  459. Deny from 54.224.138.196
  460. Deny from 34.236.187.56
  461. Deny from 3.87.132.56
  462. Deny from 54.80.21.202
  463. Deny from 54.196.7.208
  464. Deny from 18.232.121.19
  465. Deny from 18.232.61.99
  466. Deny from 35.173.252.183
  467. Deny from 54.224.134.217
  468. Deny from 174.129.64.56
  469. Deny from 3.236.143.53
  470. Deny from 44.204.45.114
  471. Deny from 44.204.11.67
  472. Deny from 54.83.80.62
  473. Deny from 107.21.198.113
  474. Deny from 54.91.164.233
  475. Deny from 18.215.241.243
  476. Deny from 209.222.82.141
  477. Deny from 18.237.150.182
  478. Deny from 54.186.16.190
  479. Deny from 18.232.134.86
  480. Deny from 18.232.128.206
  481. Deny from 54.164.153.82
  482. Deny from 3.81.96.146
  483. Deny from 54.159.97.190
  484. Deny from 35.90.168.248
  485. Deny from 3.81.202.50
  486. Deny from 34.209.64.94
  487. Deny from 3.144.89.9
  488. Deny from 3.12.163.235
  489. Deny from 3.143.227.19
  490. Deny from 3.141.199.147
  491. Deny from 54.162.69.24
  492. Deny from 13.59.162.5
  493. Deny from 3.144.21.32
  494. Deny from 34.208.23.237
  495. Deny from 35.153.141.7
  496. Deny from 3.94.122.56
  497. Deny from 34.227.87.198
  498. Deny from 3.89.25.177
  499. Deny from 44.192.40.143
  500. Deny from 35.90.175.174
  501. Deny from 54.213.81.139
  502. Deny from 18.237.193.64
  503. Deny from 54.212.212.115
  504. Deny from 54.210.198.79
  505. Deny from 3.21.248.40
  506. Deny from 3.143.231.203
  507. Deny from 18.236.245.87
  508. Deny from 34.209.172.84
  509. Deny from 54.189.168.48
  510. Deny from 107.22.121.29
  511. Deny from 34.217.6.181
  512. Deny from 54.203.2.49
  513. Deny from 104.255.56.1
  514. Deny from 35.90.105.144
  515. Deny from 52.15.80.59
  516. Deny from 34.216.165.174
  517. Deny from 52.206.38.75
  518. Deny from 54.69.198.117
  519. Deny from 3.143.7.39
  520. Deny from 3.14.132.200
  521. Deny from 54.68.53.89
  522. Deny from 72.41.0.192
  523. Deny from 35.160.166.139
  524. Deny from 3.217.191.143
  525. Deny from 34.213.43.76
  526. allow from all
  527.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement