mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 11:59:03 +00:00
More time sources for clock-skew; XML output for bitcoin-info.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
local os = require "os"
|
||||
local datetime = require "datetime"
|
||||
local smb = require "smb"
|
||||
local stdnse = require "stdnse"
|
||||
local smb2 = require "smb2"
|
||||
@@ -36,6 +38,7 @@ action = function(host,port)
|
||||
status = smb2.negotiate_v2(smbstate, overrides)
|
||||
|
||||
if status then
|
||||
datetime.record_skew(host, smbstate.time, os.time())
|
||||
stdnse.debug2("SMB2: Date: %s (%s) Start date:%s (%s)",
|
||||
smbstate['date'], smbstate['time'],
|
||||
smbstate['start_date'], smbstate['start_time'])
|
||||
|
||||
Reference in New Issue
Block a user