1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Remove "hardmatched" argument from calls to nmap.set_port_version.

This is the default and can be omitted. Seeing as the value of this
argument was "hardmatched" in 100% of cases, we're better off pretending
the parameter doesn't exist.
This commit is contained in:
david
2012-07-30 18:58:32 +00:00
parent 453131b820
commit a2c2863531
45 changed files with 50 additions and 50 deletions

View File

@@ -88,7 +88,7 @@ action = function(host, port)
-- Here we know it is a couchdb
port.version.name ='httpd'
port.version.product='Apache CouchDB'
nmap.set_port_version(host,port,'hardmatched')
nmap.set_port_version(host,port)
-- We have a valid table in result containing the parsed json
-- now, get all the interesting bits