From 732a1f3993b2c4d6fcb9760a8cc3b1aa16e7e8fd Mon Sep 17 00:00:00 2001 From: HD Moore Date: Mon, 2 May 2011 05:20:07 +0000 Subject: [PATCH] Skip empty vulnerability names git-svn-id: file:///home/svn/framework3/trunk@12503 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/db.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/msf/core/db.rb b/lib/msf/core/db.rb index f43aa96f9a..9b1e7d3c93 100644 --- a/lib/msf/core/db.rb +++ b/lib/msf/core/db.rb @@ -4060,6 +4060,8 @@ class DBManager } ) end + + next if nasl.to_s.strip.empty? handle_nessus(wspace, hobj_map[ addr ], port, nasl, severity, data) end end @@ -4707,7 +4709,7 @@ protected end end - nss = 'NSS-' + nasl.to_s + nss = 'NSS-' + nasl.to_s.strip vuln_info = { :workspace => wspace,