mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 02:49:01 +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:
@@ -170,7 +170,7 @@ action = function(host, port)
|
||||
port.version.product = "SAP MaxDB"
|
||||
port.version.version = version_info.VERSION
|
||||
port.version.ostype = version_info.SYSNAME
|
||||
nmap.set_port_version(host, port, "hardmatched")
|
||||
nmap.set_port_version(host, port)
|
||||
|
||||
return stdnse.format_output(true, result)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user