Script smb2-time

Script types: hostrule
Categories: discovery, safe, default

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



  • Paulino Calderon <calderon()>

License: Same as Nmap--See