Report unknown service names for consistency

bug/bundler_fix
William Vu 2015-04-20 17:22:19 -05:00
parent d894502148
commit 741149058c
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +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"] != "unknown"
if p["name"]
data[:name] = p["name"]
end
if p['tunnel']