mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fixed a bug where http-headers.nse wasn't honouring the 'path' script-arg.
This commit is contained in:
parent
89888ef6b3
commit
73d8459565
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue