From 3a13629bc06d1b377972bb4ad2b2a297e985aa4e Mon Sep 17 00:00:00 2001 From: Phil Schneider Date: Thu, 18 Mar 2021 08:03:44 +1030 Subject: [PATCH] Fix handing 302 redirect status Fix concatenation of incompatible types by expanding array elements --- http-vuln-exchange.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-vuln-exchange.nse b/http-vuln-exchange.nse index 49b4599..113792c 100644 --- a/http-vuln-exchange.nse +++ b/http-vuln-exchange.nse @@ -120,7 +120,7 @@ action = function(host, port) local answer = http.get(host, port, "/owa", options ) if answer.status == 302 then - return "Error 302 " .. answer.location + return "Error 302 " .. table.concat(answer.location," -> ") elseif answer.status ~= 200 then return "Error " .. tostring(answer.status) .. " for /owa" end