1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Fixed a bug where http-headers.nse wasn't honouring the 'path' script-arg.

This commit is contained in:
ron
2010-08-29 01:18:08 +00:00
parent 89888ef6b3
commit 73d8459565

View File

@@ -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