From 02b00238a28d775c3aa361880436d419a4f3dede Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 17 Oct 2018 20:21:04 +0000 Subject: [PATCH] Add a new vulns state, UNKNOWN, for cases where vulnerability cannot be ruled out. --- nselib/vulns.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nselib/vulns.lua b/nselib/vulns.lua index bf84914bf..3cc8da462 100644 --- a/nselib/vulns.lua +++ b/nselib/vulns.lua @@ -388,6 +388,7 @@ STATE = { VULN = 0x04, DoS = 0x08, EXPLOIT = 0x10, + UNKNOWN = 0x20, } -- The vulnerability messages. @@ -399,6 +400,7 @@ STATE_MSG = { [STATE.EXPLOIT] = 'VULNERABLE (Exploitable)', [STATE.DoS | STATE.VULN] = 'VULNERABLE (DoS)', [STATE.EXPLOIT | STATE.VULN] = 'VULNERABLE (Exploitable)', + [STATE.UNKNOWN] = 'UNKNOWN (unable to test)', } -- Scripts must provide the correct risk factor string.