Page 1 of 1

urlencode

Posted: 20 Nov 2013, 06:22
by PCZero
I would love to be able to auto block all IPs who attempt to call any resource from my server with a urlencoded request such as this...


http://www.mydomai.com/cgi-bin/php5?%2D ... 4%69%6F%6E


I have my server hardened enough to not have this do any harm, but a black listing woudl be even better. Any way to add this to csf?

Re: urlencode

Posted: 21 Nov 2013, 02:30
by Sergio
You can do this easily with mod_security, so, when someone writes anything that you don't like as a part of the URL mod_security can block the IP, then the IP will be block by CSF.

Sergio

Re: urlencode

Posted: 26 Nov 2013, 05:53
by PCZero
Please advise how it might easily be done.

Re: urlencode

Posted: 26 Nov 2013, 13:42
by Sergio
As this forum is not for Mod_Security, I will send you a PM with the details.

Sergio