mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Correct the return value of smb2.negotiate_v2
As documented, the function should return the negotiated SMB2 dialect, not just reflect back the dialect override table.
This commit is contained in:
parent
57b7e56a68
commit
1b39988bf9
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ action = function(host,port)
|
|||
elseif not(signing_enabled) and signing_required then
|
||||
table.insert(message_signing, "Message signing is disabled!")
|
||||
end
|
||||
output[stdnse.tohex(dialect[1], {separator = ".", group = 2})] = message_signing
|
||||
output[stdnse.tohex(dialect, {separator = ".", group = 2})] = message_signing
|
||||
-- We exit after first accepted dialect,
|
||||
-- SMB signing configuration appears to be global so
|
||||
-- there is no point of trying other dialects.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue