mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Add a new vulns state, UNKNOWN, for cases where vulnerability cannot be ruled out.
This commit is contained in:
parent
e93c2b4328
commit
02b00238a2
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue