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

Add a new vulns state, UNKNOWN, for cases where vulnerability cannot be ruled out.

This commit is contained in:
dmiller
2018-10-17 20:21:04 +00:00
parent e93c2b4328
commit 02b00238a2

View File

@@ -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.