diff --git a/scripts/banner.nse b/scripts/banner.nse index 65094fc79..671ca2086 100644 --- a/scripts/banner.nse +++ b/scripts/banner.nse @@ -61,7 +61,7 @@ function grab_banner(host, port) return nil end - return response + return response:match("^%s*(.-)%s*$"); end