1

I have noticed an increase in attacks from this user agent:

BOT/0.1 (BOT for JCE)

Request line is:

POST /index.php?option=com_jce&task=plugin&plugin=imgmanager&file=imgmanager&version=1576&cid=20 HTTP/1.1

I have tried to block the bot with the following code in the .htaccess file:

SetEnvIfNoCase User-Agent “BOT for JCE” bad_bot
<Limit GET POST>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</Limit>

But the above is not stopping the bots/attacks. How can I stop them?

mickmackusa
  • 43,625
  • 12
  • 83
  • 136

1 Answers1

0

Try:

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} BOT/0\.[0-9]
RewriteRule ^ - [L,F]
Jon Lin
  • 142,182
  • 29
  • 220
  • 220