Script http-date
Script types:
portrule
Categories:
discovery, safe
Download: https://svn.nmap.org/nmap/scripts/http-date.nse
Script 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
- slaxml.debug
See the documentation for the slaxml library.
- http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent
See the documentation for the http library.
- smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername
See the documentation for the smbauth library.
Example Usage
nmap -sV --script=http-date <target>
Script Output
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.
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html