1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

Use structured key name "sha1" not "fingerprint" for uniformity with ssl-cert.

This commit is contained in:
david
2012-08-16 10:51:24 +00:00
parent e037b3c416
commit 1ba18b4a39

View File

@@ -33,7 +33,7 @@ include with Nmap) list.
-- @xmloutput
-- <table>
-- <elem key="section">Little Black Box 0.1</elem>
-- <elem key="fingerprint">0028e7d49cfa4aa5984fe497eb7348560787e496</elem>
-- <elem key="sha1">0028e7d49cfa4aa5984fe497eb7348560787e496</elem>
-- </table>
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