pugg09 Posted September 12, 2007 Share Posted September 12, 2007 I did a lookup on this in the forum, with no results. I have what looks like a perl bot trying to hack into my sites. I'm running a 1.? version of Apache on a Red Hat LAMP system. I've been told that all I have to do is change something called a "User-Agent" in my .htaccess file - I'm unable to locate that file on my box. Can anyone help me figure this out. I'm getting hit daily by this guy. Quote Link to comment https://forums.phpfreaks.com/topic/68947-please-help-libwww-perl-security-hacks/ Share on other sites More sharing options...
Azu Posted September 12, 2007 Share Posted September 12, 2007 http://www.google.com/search?q=User-agent+.htaccess&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-US:unofficial Quote Link to comment https://forums.phpfreaks.com/topic/68947-please-help-libwww-perl-security-hacks/#findComment-346755 Share on other sites More sharing options...
steviewdr Posted September 12, 2007 Share Posted September 12, 2007 Copy in a snippet of your access and error logs. -steve Quote Link to comment https://forums.phpfreaks.com/topic/68947-please-help-libwww-perl-security-hacks/#findComment-347368 Share on other sites More sharing options...
trq Posted August 19, 2008 Share Posted August 19, 2008 Simply create a .htaccess file and put it within your document root. SetEnvIfNoCase User-Agent "^libwww-perl" badagent AllowOverride All Order Allow,Deny Allow from all Deny from env=badagent Quote Link to comment https://forums.phpfreaks.com/topic/68947-please-help-libwww-perl-security-hacks/#findComment-619903 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.