---Reply to mail from Carric Dooley about Ident string for HTTPD

> Hello
> 
> I was wondering if there was a string you could pass via a scanner that
> will query a web server as to what it is.  Example, I am scanning a
> network for web servers and when I find one I want to know what kind it
> is.
> 
Well you could look for the Server: xxx line in the reply from the
server..  To get that you can either issue a GET or HEAD request (HEAD
only gets the headers)..  

For instance:
hostname% telnet www.microsoft.com 80
Trying 207.46.131.13...
Connected to microsoft.com.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.0 403 Access Forbidden
Server: Microsoft-IIS/4.0
Date: Wed, 19 May 1999 18:31:47 GMT
Content-Type: text/html
Content-Length: 172

Connection closed by foreign host.

The Server: line tells me they are running Microsoft-IIS/4.0..  

-- 
Bret McDanel                                    http://www.rehost.com
Realistic Technologies, Inc.                             973-514-1144

     These opinions are mine, and may not be the same as my employer


-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to