In the last few days I was monitoring my website logs and saw a bot that is scanning me a lot. The interval of scanning is very frequently, once of every 5-10 seconds. I was trying to block the bot by write the next code into robots.txt, but after 1 or 2 hours nothing happened, the bot is continuing to scan.
What can I do to stop the bot? Is it a sign that someone is trying to do something harmful to my website?
User-agent: *
Allow: /
User-agent: SemrushBot
Disallow: /
Log example
185.191.171.11 - - [07/Nov/2022:11:38:59 +0200] "GET /example_store.php?id_class=123&id_product=1234&watch=20670906 HTTP/1.1" 500 5225 "-" "Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)"