mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Return not-vuln results, too.
This commit is contained in:
parent
6e5e9478f2
commit
d25b4df8be
1 changed files with 2 additions and 3 deletions
|
|
@ -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!")
|
||||
vuln.state = vulns.STATE.VULN
|
||||
else
|
||||
if nmap.verbosity() >=2 then
|
||||
return err
|
||||
end
|
||||
vuln.state = vulns.STATE.NOT_VULN
|
||||
vuln.check_results = err
|
||||
end
|
||||
return report:make_output(vuln)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue