update nessus v2 import for consistent proto case

bug/bundler_fix
Jeffrey Martin 2017-08-28 12:32:04 -05:00
parent 3bdb572e01
commit 368e37428e
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ module Msf::DBManager::Import::Nessus::XML::V2
nasl = item['nasl'].to_s
nasl_name = item['nasl_name'].to_s
port = item['port'].to_s
proto = item['proto'] || "tcp"
proto = item['proto'] ? item['proto'].downcase : "tcp"
sname = item['svc_name']
severity = item['severity']
description = item['description']