Consolidate tunnel check into name check
parent
741149058c
commit
74ad81c90c
|
@ -164,12 +164,7 @@ module Msf::DBManager::Import::Nmap
|
|||
data[:host] = hobj || addr
|
||||
data[:info] = extra if not extra.empty?
|
||||
data[:task] = args[:task]
|
||||
if p["name"]
|
||||
data[:name] = p["name"]
|
||||
end
|
||||
if p['tunnel']
|
||||
data[:name] = "#{p['tunnel']}/#{data['name'] || 'unknown'}"
|
||||
end
|
||||
data[:name] = p['tunnel'] ? "#{p['tunnel']}/#{p['name'] || 'unknown'}" : p['name']
|
||||
report_service(data)
|
||||
}
|
||||
#Parse the scripts output
|
||||
|
|
Loading…
Reference in New Issue