File http-headers
Download: http://nmap.org/svn/scripts/http-headers.nse
User Summary
Performs a GET request for the root folder ("/") of a web server and displays the HTTP headers returned.
Script Arguments
useget
Set to force GET requests instead of HEAD.
path
The path to request, such as /index.php. Default /.
http-max-cache-size, http.useragent, pipeline
See the documentation for the http library.Example Usage
nmap -sV --script=http-headers <target>
Script Output
Interesting ports on scanme.nmap.org (64.13.134.52): PORT STATE SERVICE 80/tcp open http syn-ack | http-headers: | | HTTP/1.1 200 OK | | Date: Tue, 10 Nov 2009 01:25:11 GMT | | Server: Apache/2.2.9 (Unix) PHP/5.2.10 | | Last-Modified: Sat, 11 Oct 2008 15:22:21 GMT | | ETag: "90013-e3d-458fbd508c540" | | Accept-Ranges: bytes | | Content-Length: 3645 | | Connection: close | | Content-Type: text/html |_ |_ (Request type: HEAD)
Requires
Author: Ron Bowes
License: Same as Nmap--See http://nmap.org/book/man-legal.html




