diff --git a/scripts/http-userdir-enum.nse b/scripts/http-userdir-enum.nse index b41a6e62d..41a4531fc 100644 --- a/scripts/http-userdir-enum.nse +++ b/scripts/http-userdir-enum.nse @@ -78,9 +78,9 @@ action = function(host, port) end if(use_head) then - all = http.pipeline_add("/~" .. usernames[i], nil, 'HEAD') + all = http.pipeline_add("/~" .. usernames[i], nil, all, 'HEAD') else - all = http.pipeline_add("/~" .. usernames[i], nil, 'GET') + all = http.pipeline_add("/~" .. usernames[i], nil, all, 'GET') end end