Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors

SolarWinds makes easy-to-use enterprise IT management software to help IT pros solve problems every day and help to enable efficient and effective management of networks and IT environments.

Join our online community of over 100,000 IT professionals talking shop. Get involved. Gain insights. Share tips and tricks. Visit thwack today!


File http-headers

Script types: portrule
Categories: discovery, safe
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.pipeline, http.useragent

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

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]