mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 20:59:02 +00:00
Use structured key name "sha1" not "fingerprint" for uniformity with ssl-cert.
This commit is contained in:
@@ -33,7 +33,7 @@ include with Nmap) list.
|
|||||||
-- @xmloutput
|
-- @xmloutput
|
||||||
-- <table>
|
-- <table>
|
||||||
-- <elem key="section">Little Black Box 0.1</elem>
|
-- <elem key="section">Little Black Box 0.1</elem>
|
||||||
-- <elem key="fingerprint">0028e7d49cfa4aa5984fe497eb7348560787e496</elem>
|
-- <elem key="sha1">0028e7d49cfa4aa5984fe497eb7348560787e496</elem>
|
||||||
-- </table>
|
-- </table>
|
||||||
|
|
||||||
author = "Mak Kolybabi"
|
author = "Mak Kolybabi"
|
||||||
@@ -139,5 +139,5 @@ action = function(host, port)
|
|||||||
return
|
return
|
||||||
end
|
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
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user