From 73d8459565077486aba14cad3e910a18150612e5 Mon Sep 17 00:00:00 2001 From: ron Date: Sun, 29 Aug 2010 01:18:08 +0000 Subject: [PATCH] Fixed a bug where http-headers.nse wasn't honouring the 'path' script-arg. --- scripts/http-headers.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-headers.nse b/scripts/http-headers.nse index 15cfe8f05..979460288 100644 --- a/scripts/http-headers.nse +++ b/scripts/http-headers.nse @@ -46,7 +46,7 @@ action = function(host, port) -- Check if the user didn't want HEAD to be used if(nmap.registry.args.useget == nil) then -- Try using HEAD first - status, result = http.can_use_head(host, port, path) + status, result = http.can_use_head(host, port, nil, path) end -- If head failed, try using GET