1
0
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:
dmiller
2013-10-23 16:36:26 +00:00
parent 784eca0575
commit 4bbb4366d2
6 changed files with 9 additions and 9 deletions

View File

@@ -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