Nasser Heidari


Identifying the version of a Web server

Filed under: Miscellaneous — Nasser Heidari @ 12:35

I will show you how you can identify the version of a Web server by issuing telnet command.
In the following example, we want to determine the version of a Web server by issuing a Hypertext Transfer Protocol (HTTP) HEAD request. The HEAD method allows a client to request HTTP header information. The output from the HEAD request will help us identify important information about the server, including the type and version of the Web server that is running. To perform a HEAD request, we’ll need to make a connection to the target Web server using the telnet command:

telnet 80

This simply makes a TCP connection to the Web server. Once the connection established, you need to issue the following command into the telnet Window:


After you hit enter two times, we get the following response (http header information)
from the Web server.

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 1020
Content-Type: text/html
Last-Modified: Mon, 16 Mar 2009 20:35:26 GMT
Accept-Ranges: bytes
ETag: "67991fbd76a6c91:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Fri, 10 Jul 2009 12:33:15 GMT
Connection: keep-alive

As you can see from the results , is surprisingly running a Microsoft-IIS/7.5 Web server using the ASP.NET Web application framework.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: