File http-date
Script types:
portrule
Categories:
discovery, safe
Download: http://nmap.org/svn/scripts/http-date.nse
User Summary
Gets the date from HTTP-like services. Also prints how much the date differs from local time. Local time is the time the HTTP request was sent, so the difference includes at least the duration of one RTT.
Script Arguments
http-max-cache-size, http.pipeline, http.useragent
See the documentation for the http library.Example Usage
nmap -sV --script=http-date <target>
Script Output
80/tcp open http |_ http-date: Thu, 23 Jul 2009 23:15:57 GMT; -6s from local time. 80/tcp open http |_ http-date: Wed, 17 Jan 2007 09:29:10 GMT; -2y187d13h46m53s from local time.
Requires
Author: David Fifield
License: Same as Nmap--See http://nmap.org/book/man-legal.html



