mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Set port product and state when a DB2 database service is positively matched.
Previously just set port.version.name and confidence.
This commit is contained in:
parent
2615dbbca1
commit
9f0e11f035
1 changed files with 2 additions and 0 deletions
|
|
@ -327,7 +327,9 @@ action = function(host, port)
|
|||
|
||||
-- Set port information
|
||||
port.version.name = "ibm-db2"
|
||||
port.version.product = "IBM DB2 Database Server"
|
||||
port.version.name_confidence = 100
|
||||
nmap.set_port_state(host, port, "open")
|
||||
if server_class ~= nil then port.version.extrainfo = server_class end
|
||||
|
||||
nmap.set_port_version(host, port, "hardmatched")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue