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


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. The script will test whether this is indeed true and report the time only if it passes this test.

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, nnposter

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 ]