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.
smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusernameSee the documentation for the smbauth library.
http.max-cache-size, http.max-pipeline, http.pipeline, http.useragentSee the documentation for the http library.
nmap -sV --script=http-date <target>
80/tcp open http |_http-date: Thu, 02 Aug 2012 22:11:03 GMT; 0s from local time. 80/tcp open http |_http-date: Thu, 02 Aug 2012 22:07:12 GMT; -3m51s from local time.
Author: David Fifield
License: Same as Nmap--See http://nmap.org/book/man-legal.html