Update legacy Nmap XML parser

bug/bundler_fix
William Vu 2015-04-20 17:15:35 -05:00
parent 1a66786d1b
commit d894502148
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ module Msf::DBManager::Import::Nmap
if p["name"] != "unknown"
data[:name] = p["name"]
end
if p['tunnel']
data[:name] = "#{p['tunnel']}/#{data['name'] || 'unknown'}"
end
report_service(data)
}
#Parse the scripts output