1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

Improve the wording in the output of ssl-google-cert-catalog.nse.

This commit is contained in:
david
2011-12-06 05:01:17 +00:00
parent 171c917b37
commit 028345e871

View File

@@ -10,8 +10,8 @@ Queries Google's Certificate Catalog for the SSL certificates retrieved from tar
-- PORT STATE SERVICE
---443/tcp open https
---| ssl-google-cert-catalog:
---| First/Last time saw: 19 Aug 2011 / 10 Sep 2011
---|_ Days saw between: 20
---| First/last date seen: 19 Aug 2011 / 10 Sep 2011
---|_ Days in between: 20
author = "Vasiliy Kulikov"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
@@ -56,8 +56,8 @@ action = function(host, port)
local raw_start, raw_stop, delta = string.match(decoded_response, "(%d+) (%d+) (%d+)")
local date_start, date_stop = format_date(raw_start), format_date(raw_stop)
table.insert(lines, "First/Last time saw: " .. date_start .. " / " .. date_stop)
table.insert(lines, "Days saw between: " .. tonumber(delta))
table.insert(lines, "First/last date seen: " .. date_start .. " / " .. date_stop)
table.insert(lines, "Days in between: " .. tonumber(delta))
else
table.insert(lines, "No DB entry")
end