htpw
htpw copied to clipboard
New User Agents to Block
Added new rule rules to block nikto user agent and sql injections attempts
So, the new UAs to block would be:
libwww-perl
wget
python
nikto
curl
scan
java
winhttp
HTTrack
clshttp
archiver
loader
email
harvest
extract
grab
miner
Thanks for this very interesting list. But I don't think I want to block them all.
For example "curl" or "wget" are often used to invoke wp-cron.php and update WP Core, Themes or Plugin.
What software uses "email", "harvest", "archiver" as user agent? I find nothing potentially malicious...
A website that use wget to run wp-cron deserve to be blocked as there are better ways to do it in a more performant way without using a call to a webserver 😂
The wp-cron file can be executed with php
from cli or with wp-cli https://developer.wordpress.org/cli/commands/cron/event/run/
@Mte90 you are absolutely right!
But the project was born with the intention of not being invasive; I don't want to risk interrupting the update processes of some installations.
Maybe you can do 2 sets of rules like basic and advanced
Good point!
We may select other user agents of interest from: https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker
We may select other user agents of interest from: https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker
Here too: https://perishablepress.com/ultimate-htaccess-blacklist/
Other user agent I would like to add:
Nuclei - Open-source project (github.com/projectdiscovery/nuclei)
Another UA likely to be blocked:
ltx71