From f35d3e94408ec3b861f748a5eb6c9ea79eeec308 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 12 Sep 2008 21:39:48 +0000 Subject: [PATCH] Remove a \r\r that could be printed by showSMTPversion.nse. --- scripts/showSMTPVersion.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/showSMTPVersion.nse b/scripts/showSMTPVersion.nse index 08f6c4841..11a10562c 100644 --- a/scripts/showSMTPVersion.nse +++ b/scripts/showSMTPVersion.nse @@ -25,6 +25,6 @@ action = function(host, port) return end - return (string.gsub(result, "\n", "")) + return (string.gsub(result, "\r?\n", "")) end