well any page has the potential to be accessed via a socket.
Output from me trying to open a socket to http://www.swaymyway.com/plug
Code:
HTTP/1.1 404 Not Found
Date: Tue, 20 Sep 2005 09:27:49 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /plug/index.php was not found on this server.<P>
<P>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
As i visited your site and downloaded the code i can assume that this is due to your hostchecking in the following code.
Code:
if (($referer != $valid_url1) && ($referer != $valid_url2) && ($referer != $valid_url3) && ($referer != $valid_url4)) {
echo "<center><body bgcolor=$bgcolor><font face=$font_error size=$font_error_size color=$font_error_color>Error: Invalid usage<br>Redirecting you now. <meta http-equiv='refresh' content='4; URL=index.php'></center></font>";
exit();
}
When your open a socket to your doc root http://www.swaymyway.com we get a successfull hit and it returns the page as expected.
Code:
HTTP/1.1 200 OK
Date: Tue, 20 Sep 2005 09:31:08 GMT
Server: Apache
Last-Modified: Sat, 14 May 2005 16:20:33 GMT
ETag: "1128db-b9d-42862551"
Accept-Ranges: bytes
Content-Length: 2973
Connection: close
Content-Type: text/html
So through my attempts to open a socket to http://www.swaymyway.com/plug I always fail. While opening a socket to http://www.swaymyway.com/ succeeds which is why i assume your URL checking is actually working and denying access for the plug directory. for requesting a GET /plug "fails" as does GET /plug/index.php but not GET /.
I think you should have little to worry about (but no harm in been paraniod). But I could be totaly wrong and spending 1/2 hour messing about does not in anyway mean that I or anyone else has tested it to the max.
Ibbo
Last edited by ibbo; 09-20-2005 at 05:41 AM..
|