1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 07:29:03 +00:00

Merge r18160:18278 from nmap-exp/djalal/nmap-nse/ to fix NSE not honoring the exclude directive bug.

This commit is contained in:
djalal
2010-06-29 21:56:59 +00:00
parent 329d9e3c2b
commit 72a06a3b5c
10 changed files with 99 additions and 5 deletions

View File

@@ -29,7 +29,9 @@ require "db2"
-- parseVersion was ripped from the old db2-info.nse written by Tom Sellers
--
portrule = shortport.port_or_service({50000,60000},"ibm-db2", "tcp", {"open", "open|filtered"})
portrule = shortport.version_port_or_service({50000,60000},
"ibm-db2", "tcp",
{"open", "open|filtered"})
--- Converts the prodrel server string to a version string
--
@@ -86,4 +88,4 @@ action = function( host, port )
results = results .. "External Name: " .. response.extname
return results
end
end