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