I currentyly use this code to block wget and libwww
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
SetEnvIfNoCase User-Agent "^Wget" bad_user
SetEnvIfNoCase User-Agent "^libwww-perl" bad_user
Deny from env=bad_user
is there one for curl?
Yes, I am sure
curlhas a default User-Agent, but that is obviously something that can be changed as easily as-H 'User-Agent=Poop'In fact, I think there is a switch specifically for setting the user agent.
-A