Recommended Posts

# Блокируем хитро..ые (Request) запросы через .htaccess

<ifModule mod_alias.c>

   RedirectMatch 403 /(\$|\*)/?$

   RedirectMatch 403 (?i)(<|>|:|;|\'|\s)

   RedirectMatch 403 (?i)([a-zA-Z0-9]{18})

   RedirectMatch 403 (?i)(https?|ftp|php)\:/

   RedirectMatch 403 (?i)(\"|\.|\_|\&|\&amp)$

   RedirectMatch 403 (?i)(\=\\\'|\=\\%27|/\\\'/?)\.

   RedirectMatch 403 (?i)/(author\-panel|submit\-articles)/?$

   RedirectMatch 403 (?i)/(([0-9]{5})|([0-9]{6}))\-([0-9]{10})\.(gif|jpg|png)

   RedirectMatch 403 (?i)(\,|//|\)\+|/\,/|\{0\}|\(/\(|\.\.|\+\+\+|\||\\\"\\\")

   RedirectMatch 403 (?i)/uploads/([0-9]+)/([0-9]+)/(cache|cached|wp-opt|wp-supercache)\.php

   RedirectMatch 403 (?i)\.(asp|bash|cfg|cgi|dll|exe|git|hg|ini|jsp|log|mdb|out|sql|svn|swp|tar|rar|rdf|well)

   RedirectMatch 403 (?i)/(^$|1|addlink|btn_hover|contact?|dkscsearch|dompdf|easyboard|ezooms|formvars|fotter|fpw|i|imagemanager|index1|install|iprober|legacy\-comments|join|js\-scraper|mapcms|mobiquo|phpinfo|phpspy|pingserver|playing|postgres|product|register|scraper|shell|signup|single\-default|t|sqlpatch|test|textboxes.css|thumb|timthumb|topper|tz|ucp_profile|visit|webring.docs|webshell|wp\-lenks|wp\-links|wp\-plugin|wp\-signup|wpcima|zboard|zzr)\.php

   RedirectMatch 403 (?i)/(\=|\$\&|\_mm|administrator|auth|bytest|cachedyou|cgi\-|cvs|config\.|crossdomain\.xml|dbscripts|e107|etc/passwd|function\.array\-rand|function\.parse\-url|livecalendar|localhost|makefile|muieblackcat|release\-notes|rnd|sitecore|tapatalk|wwwroot)

   RedirectMatch 403 (?i)(\$\(this\)\.attr|\&pws\=0|\&t\=|\&title\=|\%7BshopURL\%7Dimages|\_vti\_|\(null\)|$itemURL|ask/data/ask|com\_crop|document\)\.ready\(fu|echo.*kae|eval\(|fckeditor\.htm|function.parse|function\(\)|gifamp|hilton.ch|index.php\&amp\;quot|jfbswww|monstermmorpg|msnbot\.htm|netdefender/hui|phpMyAdmin/config|proc/self|skin/zero_vote|/spaw2?|text/javascript|this.options)

</ifModule>

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Еще не помещает добавить IP-адреса, с которых лезут любители подбора паролей в админку и достают сайт сутками на автомате.

На практике получилось вот такое дополнение на 338 адресов:

 

Order Deny,Allow

Deny from 1.4.255.41
Deny from 2.101.106.27
Deny from 2.139.251.20
Deny from 2.90.121.116
Deny from 5.107.116.205
Deny from 5.13.11.57
Deny from 5.135.165.206
Deny from 5.167.3.168
Deny from 5.19.234.35
Deny from 5.39.106.19
Deny from 5.54.152.129
Deny from 5.9.121.109
Deny from 23.23.87.178
Deny from 23.253.90.79
Deny from 24.114.29.162
Deny from 27.251.83.10
Deny from 27.253.71.95
Deny from 31.168.149.56
Deny from 31.193.192.184
Deny from 31.209.208.213
Deny from 31.25.28.142
Deny from 36.75.106.15
Deny from 36.75.56.21
Deny from 36.76.96.172
Deny from 37.1.27.104
Deny from 37.141.77.255
Deny from 37.187.79.43
Deny from 37.205.32.122
Deny from 37.209.251.137
Deny from 37.248.254.128
Deny from 37.48.87.44
Deny from 37.57.200.107
Deny from 37.59.29.48
Deny from 37.59.35.4
Deny from 39.32.159.221
Deny from 39.45.6.12
Deny from 39.48.247.132
Deny from 39.50.184.100
Deny from 41.13.216.81
Deny from 41.220.173.112
Deny from 41.251.80.222
Deny from 41.66.242.74
Deny from 46.105.14.54
Deny from 46.118.127.32
Deny from 46.118.159.96
Deny from 46.163.78.167
Deny from 46.197.172.117
Deny from 46.219.84.208
Deny from 46.249.47.194
Deny from 46.4.20.133
Deny from 49.145.99.61
Deny from 50.2.223.207
Deny from 50.28.80.217
Deny from 54.207.31.52
Deny from 54.254.240.147
Deny from 58.178.132.63
Deny from 58.27.155.199
Deny from 59.44.60.161
Deny from 60.12.119.200
Deny from 61.6.246.92
Deny from 62.150.92.182
Deny from 62.20.171.13
Deny from 62.21.117.60
Deny from 62.210.139.80
Deny from 62.254.165.178
Deny from 64.15.138.14
Deny from 64.31.25.60
Deny from 64.34.173.227
Deny from 65.124.232.124
Deny from 66.147.235.81
Deny from 66.56.185.151
Deny from 67.227.174.86
Deny from 69.175.111.218
Deny from 71.164.231.54
Deny from 72.229.33.46
Deny from 72.27.103.65
Deny from 72.27.208.197
Deny from 73.177.193.159
Deny from 73.53.227.16
Deny from 74.208.184.251
Deny from 74.86.72.18
Deny from 76.30.135.93
Deny from 77.78.12.143
Deny from 77.89.199.86
Deny from 78.110.86.152
Deny from 78.170.194.135
Deny from 78.184.231.193
Deny from 78.63.220.46
Deny from 78.88.25.40
Deny from 79.115.3.64
Deny from 79.121.58.136
Deny from 79.180.112.114
Deny from 79.254.146.127
Deny from 80.249.163.1
Deny from 80.78.71.173
Deny from 81.134.20.2
Deny from 81.177.174.70
Deny from 81.214.1.192
Deny from 81.29.19.213
Deny from 82.145.135.130
Deny from 82.165.143.210
Deny from 83.39.242.112
Deny from 83.96.132.85
Deny from 83.99.139.223
Deny from 84.108.100.122
Deny from 84.197.93.180
Deny from 84.94.64.229
Deny from 85.112.29.210
Deny from 85.204.118.142
Deny from 85.214.50.184
Deny from 85.214.64.100
Deny from 85.247.141.160
Deny from 85.65.3.186
Deny from 86.124.88.48
Deny from 86.96.34.163
Deny from 87.1.127.123
Deny from 87.236.232.254
Deny from 87.255.57.169
Deny from 87.68.254.50
Deny from 88.151.245.66
Deny from 88.190.45.37
Deny from 88.196.133.245
Deny from 88.249.225.207
Deny from 89.134.175.163
Deny from 89.134.74.108
Deny from 89.152.232.240
Deny from 89.155.56.39
Deny from 89.205.114.197
Deny from 89.35.148.42
Deny from 89.44.232.27
Deny from 90.163.13.26
Deny from 90.165.168.118
Deny from 90.198.222.171
Deny from 91.109.14.204
Deny from 91.109.3.166
Deny from 91.123.193.54
Deny from 91.127.94.104
Deny from 91.192.155.138
Deny from 91.192.217.199
Deny from 91.200.12.171
Deny from 91.200.13.64
Deny from 91.200.14.72
Deny from 91.202.25.217
Deny from 91.207.7.49
Deny from 91.221.70.208
Deny from 91.223.223.155
Deny from 91.73.203.234
Deny from 92.60.237.170
Deny from 92.84.14.137
Deny from 92.99.253.197
Deny from 93.10.145.26
Deny from 93.113.20.99
Deny from 93.118.223.126
Deny from 93.123.85.15
Deny from 93.143.189.206
Deny from 93.159.128.46
Deny from 93.173.251.69
Deny from 93.45.245.177
Deny from 93.86.87.88
Deny from 93.87.228.126
Deny from 94.138.219.186
Deny from 94.23.28.193
Deny from 94.71.96.14
Deny from 95.110.145.224
Deny from 95.134.169.85
Deny from 95.158.48.96
Deny from 95.178.186.237
Deny from 95.236.74.241
Deny from 95.37.96.253
Deny from 97.74.197.37
Deny from 99.43.176.46
Deny from 103.251.83.6
Deny from 103.251.90.116
Deny from 103.9.101.81
Deny from 105.228.140.226
Deny from 105.237.48.132
Deny from 106.187.102.104
Deny from 107.145.147.157
Deny from 108.80.204.99
Deny from 109.100.51.48
Deny from 109.101.45.167
Deny from 109.160.244.203
Deny from 109.184.51.184
Deny from 109.184.75.45
Deny from 109.190.37.141
Deny from 109.229.67.169
Deny from 109.64.124.115
Deny from 109.65.2.94
Deny from 110.44.123.159
Deny from 111.252.12.90
Deny from 111.68.47.229
Deny from 112.210.164.217
Deny from 112.78.112.237
Deny from 114.108.237.92
Deny from 114.113.145.149
Deny from 115.124.92.14
Deny from 116.193.173.187
Deny from 117.102.34.225
Deny from 117.200.240.205
Deny from 118.137.248.214
Deny from 119.159.109.69
Deny from 120.198.230.11
Deny from 120.28.253.3
Deny from 121.179.151.183
Deny from 121.54.54.131
Deny from 122.213.243.131
Deny from 122.55.28.66
Deny from 123.30.137.219
Deny from 123.30.208.178
Deny from 124.109.191.201
Deny from 124.125.50.104
Deny from 124.13.125.22
Deny from 124.43.68.1
Deny from 124.6.181.54
Deny from 125.212.220.77
Deny from 125.253.118.46
Deny from 125.27.240.253
Deny from 129.7.242.159
Deny from 133.242.22.177
Deny from 139.0.44.143
Deny from 139.193.143.132
Deny from 14.52.254.209
Deny from 141.85.227.117
Deny from 144.76.180.27
Deny from 144.76.219.151
Deny from 146.185.232.226
Deny from 151.236.247.200
Deny from 151.236.51.55
Deny from 153.191.243.147
Deny from 162.211.82.114
Deny from 162.42.239.248
Deny from 163.178.104.96
Deny from 164.138.92.79
Deny from 164.138.92.85
Deny from 166.63.127.244
Deny from 166.78.169.147
Deny from 168.167.142.53
Deny from 172.2.154.177
Deny from 172.249.162.139
Deny from 173.214.189.104
Deny from 175.126.111.78
Deny from 175.140.89.184
Deny from 176.102.37.60
Deny from 176.119.3.46
Deny from 176.41.254.221
Deny from 176.9.145.55
Deny from 177.42.222.125
Deny from 177.70.21.29
Deny from 177.81.201.200
Deny from 177.98.253.251
Deny from 178.137.212.129
Deny from 178.137.84.60
Deny from 178.84.161.81
Deny from 179.185.46.210
Deny from 179.216.247.67
Deny from 180.178.61.194
Deny from 181.164.35.215
Deny from 182.160.155.72
Deny from 182.183.242.34
Deny from 182.48.191.233
Deny from 182.58.44.248
Deny from 184.154.88.18
Deny from 184.168.112.26
Deny from 184.171.240.27
Deny from 184.82.179.101
Deny from 185.9.157.31
Deny from 186.207.63.160
Deny from 186.214.31.150
Deny from 187.188.128.158
Deny from 187.189.15.106
Deny from 187.37.25.76
Deny from 188.121.62.249
Deny from 188.132.210.36
Deny from 188.165.201.137
Deny from 188.191.53.8
Deny from 188.229.27.253
Deny from 188.27.215.130
Deny from 188.54.32.77
Deny from 188.77.89.246
Deny from 188.92.76.98
Deny from 189.14.2.220
Deny from 189.166.44.71
Deny from 189.169.49.171
Deny from 189.235.138.154
Deny from 190.167.175.234
Deny from 190.17.146.152
Deny from 190.199.253.175
Deny from 190.230.114.29
Deny from 190.249.130.16
Deny from 192.162.241.253
Deny from 192.187.99.194
Deny from 192.210.141.184
Deny from 193.201.224.154
Deny from 194.247.12.70
Deny from 195.154.117.65
Deny from 195.154.178.51
Deny from 195.154.226.99
Deny from 195.228.188.6
Deny from 195.252.96.50
Deny from 197.148.16.70
Deny from 197.40.121.199
Deny from 197.40.92.70
Deny from 198.23.103.91
Deny from 198.57.210.25
Deny from 198.89.122.74
Deny from 199.201.88.64
Deny from 199.246.2.94
Deny from 200.126.81.178
Deny from 202.177.25.123
Deny from 202.70.136.15
Deny from 203.195.184.151
Deny from 205.186.142.240
Deny from 207.58.135.162
Deny from 208.84.244.10
Deny from 209.59.133.206
Deny from 209.59.164.209
Deny from 210.172.144.32
Deny from 210.210.178.20
Deny from 211.110.140.70
Deny from 211.25.228.71
Deny from 212.48.66.246
Deny from 212.85.38.92
Deny from 212.90.60.252
Deny from 213.125.101.59
Deny from 213.135.93.46
Deny from 213.195.162.139
Deny from 213.229.121.124
Deny from 216.222.148.52
Deny from 216.70.90.99
Deny from 216.97.239.115
Deny from 216.98.196.14
Deny from 218.212.224.58
Deny from 218.39.142.97
Deny from 219.232.242.210
Deny from 219.71.100.131
Deny from 221.132.33.175
Deny from 222.154.12.212
Deny from 222.255.29.39

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Список банов можете поставить, хотя со спамом мы уже решили проблему и без списка ИП адресов.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Список банов можете поставить, хотя со спамом мы уже решили проблему и без списка ИП адресов.

Понял вас, спасибо

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Для желающих - большой список хакерских IP-адресов (более 21500), с которых осуществляется атака на сайты и серверы. Список взят у официалов, которые отслеживают активность хакеров по многим критериям - https://yadi.sk/i/VzWNrt5Efh9m9 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Генератор файла .htaccess здесь или готовые варианты для разных CMS здесь

 

Дима, может туда-же добавить и для Sitebill? Там добавляется и описание CMS, дополнительная реклама не помешает...

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Генератор файла .htaccess здесь или готовые варианты для разных CMS здесь

 

Дима, может туда-же добавить и для Sitebill? Там добавляется и описание CMS, дополнительная реклама не помешает...

А как туда добавиться?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Похоже написать письмо админу на contact@htaccess.ru

Написал ему, может прокатит )

Спасибо за наводку!

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
# Блокировка спам ботов в .htaccess

<IfModule mod_rewrite.c>

   Options +FollowSymlinks

   RewriteEngine on

   RewriteBase /

   RewriteCond %{REQUEST_METHOD} POST

   RewriteCond %{REQUEST_URI} ^(.*)?index\.html(.*)$ [NC] # где index - имя, html - расширение файла, отвечающего за работу с почтой

   RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?super\.com [NC] # где super - имя домена, com - доменная зона

   RewriteRule ^.*$ - [F,L]

# RewriteRule ^.*$ http://127.0.0.1 [L]

</IfModule>

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас