mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Don't double-encode ssh key for XML output
This commit is contained in:
parent
f9f2829e3c
commit
1653d846e6
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ local function portaction(host, port)
|
|||
fingerprint=stdnse.tohex(key.fingerprint),
|
||||
type=key.key_type,
|
||||
bits=key.bits,
|
||||
key=base64.enc(key.key),
|
||||
key=key.key,
|
||||
}
|
||||
if format:find( 'hex', 1, true ) or all_formats then
|
||||
table.insert( output, ssh1.fingerprint_hex( key.fingerprint, key.algorithm, key.bits ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue