Update legacy Nmap XML parser
parent
1a66786d1b
commit
d894502148
|
@ -167,6 +167,9 @@ module Msf::DBManager::Import::Nmap
|
||||||
if p["name"] != "unknown"
|
if p["name"] != "unknown"
|
||||||
data[:name] = p["name"]
|
data[:name] = p["name"]
|
||||||
end
|
end
|
||||||
|
if p['tunnel']
|
||||||
|
data[:name] = "#{p['tunnel']}/#{data['name'] || 'unknown'}"
|
||||||
|
end
|
||||||
report_service(data)
|
report_service(data)
|
||||||
}
|
}
|
||||||
#Parse the scripts output
|
#Parse the scripts output
|
||||||
|
|
Loading…
Reference in New Issue