diff --git a/scripts/http-php-version.nse b/scripts/http-php-version.nse index dcdddd857..f2764496e 100644 --- a/scripts/http-php-version.nse +++ b/scripts/http-php-version.nse @@ -105,7 +105,7 @@ action = function(host, port) end for name, value in pairs(response.header) do - if string.match(value, "^PHP") then + if string.match(value, "^PHP/") then header_name = name header_value = value break