From fefb5f84452a42dab012c5099960ba99142e5a9d Mon Sep 17 00:00:00 2001 From: patrik Date: Sun, 17 Jun 2012 18:10:34 +0000 Subject: [PATCH] fixed parsing failure resulting in empty results due to additional whitespace issue in regex of http-robtex-shared-ns.nse. --- scripts/http-robtex-shared-ns.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-robtex-shared-ns.nse b/scripts/http-robtex-shared-ns.nse index 7aa05e9cc..f80e69f92 100644 --- a/scripts/http-robtex-shared-ns.nse +++ b/scripts/http-robtex-shared-ns.nse @@ -41,7 +41,7 @@ categories = { function parse_robtex_response (data) local result = {}; - for linkhref, ns, domain in string.gmatch(data, "(.-)") do + for linkhref, ns, domain in string.gmatch(data, "(.-)") do if not table.contains(result, domain) then table.insert(result, domain); end