From 29919b1d84e3a7bb1c87990f9ac42b078b7bb47e Mon Sep 17 00:00:00 2001 From: kris <> Date: Fri, 28 Nov 2008 12:51:35 +0000 Subject: [PATCH] Strip whitespace from saved service names from NBEs git-svn-id: file:///home/svn/framework3/trunk@5982 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/ui/console/command_dispatcher/db.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/ui/console/command_dispatcher/db.rb b/lib/msf/ui/console/command_dispatcher/db.rb index 7a81da1d50..49042c9b74 100644 --- a/lib/msf/ui/console/command_dispatcher/db.rb +++ b/lib/msf/ui/console/command_dispatcher/db.rb @@ -401,7 +401,7 @@ module Db end service = framework.db.get_service(nil, host, m[3].downcase, m[2].to_i) - service.name = m[1] + service.name = m[1].strip service.save next if not nasl