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

Use base64-encoded key, not double-encoded type and key

This commit is contained in:
dmiller
2012-08-16 14:46:40 +00:00
parent 147a17d2b6
commit 74a2168a15

View File

@@ -142,7 +142,7 @@ local function portaction(host, port)
fingerprint=stdnse.tohex(key.fingerprint),
type=key.key_type,
bits=key.bits,
key=base64.enc(key.full_key),
key=base64.enc(key.key),
})
if format:find( 'hex', 1, true ) or all_formats then
table.insert( output, ssh1.fingerprint_hex( key.fingerprint, key.algorithm, key.bits ) )