mirror of
https://github.com/nmap/nmap.git
synced 2026-02-03 12:06:35 +00:00
Fix name_confidence use (0-10, not 0-100)
This commit is contained in:
@@ -145,7 +145,7 @@ local get_version = function(host, port, token)
|
||||
-- put info in a table and parse for OS detection and other info
|
||||
port.version.name = "metasploit-msgrpc"
|
||||
port.version.product = metasploit_version
|
||||
port.version.name_confidence = 100
|
||||
port.version.name_confidence = 10
|
||||
nmap.set_port_version(host,port)
|
||||
local info = "Metasploit version: " .. metasploit_version .. " Ruby version: " .. ruby_version .. " API version: " .. api_version
|
||||
if string.find(ruby_version,"mingw") < 0 then
|
||||
|
||||
Reference in New Issue
Block a user