From fb18ead35ce62dc43b311a5fdbd12d986c820699 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 11 Apr 2011 02:35:49 +0000 Subject: [PATCH] Fix typoed variable name in http-vhosts.nse. --- scripts/http-vhosts.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-vhosts.nse b/scripts/http-vhosts.nse index f5ffda226..16beec440 100644 --- a/scripts/http-vhosts.nse +++ b/scripts/http-vhosts.nse @@ -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