1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

Avoid false positive in ipmi-cipher-zero. Closes #1022

This commit is contained in:
dmiller
2017-10-04 18:27:29 +00:00
parent 7aeb2ada62
commit f4b7c6f09d
2 changed files with 5 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ functionality
nmap.set_port_state(host, port, "open")
local info = ipmi.parse_open_session_reply(reply)
if info["session_payload_type"] == ipmi.PAYLOADS["RMCPPLUSOPEN_REP"] then
if info["session_payload_type"] == ipmi.PAYLOADS["RMCPPLUSOPEN_REP"] and info["error_code"] == 0 then
vuln_table.state = vulns.STATE.VULN
end