From 1ba18b4a399fd1723ffb6f3685f377bfc76418a6 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 16 Aug 2012 10:51:24 +0000 Subject: [PATCH] Use structured key name "sha1" not "fingerprint" for uniformity with ssl-cert. --- scripts/ssl-known-key.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ssl-known-key.nse b/scripts/ssl-known-key.nse index 43dd13053..38d4797d9 100644 --- a/scripts/ssl-known-key.nse +++ b/scripts/ssl-known-key.nse @@ -33,7 +33,7 @@ include with Nmap) list. -- @xmloutput -- -- Little Black Box 0.1 --- 0028e7d49cfa4aa5984fe497eb7348560787e496 +-- 0028e7d49cfa4aa5984fe497eb7348560787e496 --
author = "Mak Kolybabi" @@ -139,5 +139,5 @@ action = function(host, port) return end - return {section=section, fingerprint=stdnse.tohex(fingerprint)}, "Found in " .. section .. " (SHA-1: " .. fingerprint_fmt .. ")" + return {section=section, sha1=stdnse.tohex(fingerprint)}, "Found in " .. section .. " (SHA-1: " .. fingerprint_fmt .. ")" end