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

Return not-vuln results, too.

This commit is contained in:
dmiller
2018-06-28 13:40:30 +00:00
parent 6e5e9478f2
commit d25b4df8be

View File

@@ -185,9 +185,8 @@ A critical remote code execution vulnerability exists in Microsoft SMBv1
stdnse.debug1("This host is missing the patch for ms17-010!") stdnse.debug1("This host is missing the patch for ms17-010!")
vuln.state = vulns.STATE.VULN vuln.state = vulns.STATE.VULN
else else
if nmap.verbosity() >=2 then vuln.state = vulns.STATE.NOT_VULN
return err vuln.check_results = err
end
end end
return report:make_output(vuln) return report:make_output(vuln)
end end