From bbae5a7845fe03360065a1974e05b816eeb28cd6 Mon Sep 17 00:00:00 2001 From: batrick Date: Sun, 10 Aug 2008 00:39:36 +0000 Subject: [PATCH] Applied the fix for a script returning more than one result in showSMTPVersion.nse See Jah's post: http://seclists.org/nmap-dev/2008/q3/0293.html --- scripts/showSMTPVersion.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/showSMTPVersion.nse b/scripts/showSMTPVersion.nse index f034da515..7569ed955 100644 --- a/scripts/showSMTPVersion.nse +++ b/scripts/showSMTPVersion.nse @@ -20,6 +20,6 @@ action = function(host, port) return end - return string.gsub(result, "\n", "") + return (string.gsub(result, "\n", "")) end