бывает что в логах апача идут запросы типа
75.127.68.106 [...] "GET //phpMyAdmin/ HTTP/1.1" 404 285 "-" "Made by ZmEu
89.108.119.29 [...] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1"
75.127.68.106 [...] "GET //myadmin/ HTTP/1.1" 200 8644 "-" "Made by ZmEu
и apache грузит процессор.
Создаем php файл antibot.php с таким содержанием
<? header("HTTP/1.1 403 Forbidden"); ?>
и прописываем в htaccess
RewriteEngine on RewriteCond %{REQUEST_URI} !^antibot.php RewriteCond %{HTTP_USER_AGENT} (.*)ZmEu(.*) RewriteRule .* http://www.yourdomain.com/antibot.php [R=301,L]
если вас мучает другой бот можете использовать следующую настройку
RewriteEngine on RewriteCond %{HTTP_USER_AGENT} ^ZmEu [OR] RewriteCond %{HTTP_USER_AGENT} (.*)AnotherAgent(.*) RewriteRule .* – [F]
ZmEu attacks: защита от бота
Great read! The author’s perspective was fascinating and left me with a lot to think about. I’m looking forward to hearing what others think. Feel free to visit my profile for more discussions.
The common side effects to lower the immunity in treatment of infertility which legit cialis online yea i eat clean and know my appetite will for once be bigger than my eyes i hope ha