mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Add a new vulns state, UNKNOWN, for cases where vulnerability cannot be ruled out.
This commit is contained in:
@@ -388,6 +388,7 @@ STATE = {
|
|||||||
VULN = 0x04,
|
VULN = 0x04,
|
||||||
DoS = 0x08,
|
DoS = 0x08,
|
||||||
EXPLOIT = 0x10,
|
EXPLOIT = 0x10,
|
||||||
|
UNKNOWN = 0x20,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- The vulnerability messages.
|
-- The vulnerability messages.
|
||||||
@@ -399,6 +400,7 @@ STATE_MSG = {
|
|||||||
[STATE.EXPLOIT] = 'VULNERABLE (Exploitable)',
|
[STATE.EXPLOIT] = 'VULNERABLE (Exploitable)',
|
||||||
[STATE.DoS | STATE.VULN] = 'VULNERABLE (DoS)',
|
[STATE.DoS | STATE.VULN] = 'VULNERABLE (DoS)',
|
||||||
[STATE.EXPLOIT | STATE.VULN] = 'VULNERABLE (Exploitable)',
|
[STATE.EXPLOIT | STATE.VULN] = 'VULNERABLE (Exploitable)',
|
||||||
|
[STATE.UNKNOWN] = 'UNKNOWN (unable to test)',
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Scripts must provide the correct risk factor string.
|
-- Scripts must provide the correct risk factor string.
|
||||||
|
|||||||
Reference in New Issue
Block a user