File ssl-date
Script types:
portrule
Categories:
discovery, safe, default
Download: http://nmap.org/svn/scripts/ssl-date.nse
User Summary
Retrieves a target host's time and date from its TLS ServerHello response.
In many TLS implementations, the first four bytes of server randomness are a Unix timestamp.
Original idea by Jacob Appelbaum and his TeaTime and tlsdate tools:
Script Arguments
smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername
See the documentation for the smbauth library.Example Usage
nmap <target> --script=ssl-date
Script Output
PORT STATE SERVICE REASON 5222/tcp open xmpp-client syn-ack |_ssl-date: 2012-08-02T18:29:31Z; +4s from local time.
Requires
Author: Aleksandar Nikolic
License: Same as Nmap--See http://nmap.org/book/man-legal.html


