Script smb2-time

Script types: hostrule
Categories: discovery, safe, default
Download: https://svn.nmap.org/nmap/scripts/smb2-time.nse

Script Summary

Attempts to obtain the current system date and the start date of a SMB2 server.

Script Arguments

randomseed, smbbasic, smbport, smbsign

See the documentation for the smb library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

nmap -p445 --script smb2-time <target>

Script Output

Host script results:
| smb2-time:
|   date: 2017-07-28 03:06:34
|_  start_date: 2017-07-20 09:29:49

Requires


Author:

  • Paulino Calderon <calderon()websec.mx>

License: Same as Nmap--See https://nmap.org/book/man-legal.html