1
0
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:
david
2011-04-11 02:35:49 +00:00
parent fc1f3a7ed1
commit fb18ead35c

View File

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