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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user