mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 04:49:02 +00:00
Fix typoed variable name in http-vhosts.nse.
This commit is contained in:
@@ -544,7 +544,7 @@ action = function(host, port)
|
||||
http_response = http.head(host, port, path, {header={Host=targetname}, bypass_cache=true})
|
||||
|
||||
if not http_response.status then
|
||||
if not response["ERROR"] then
|
||||
if not http_response["ERROR"] then
|
||||
result["ERROR"]={}
|
||||
end
|
||||
result["ERROR"][result["ERROR"] + 1] = targetname
|
||||
|
||||
Reference in New Issue
Block a user