From 4df392f1a2c45a631e47597aed89b8b55fbc9987 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 12 Apr 2013 17:29:20 +0000 Subject: [PATCH] Applied Dan Miller's fix to use new Robtex API (http://seclists.org/nmap-dev/2013/q2/1). I had to modify it slightly to allow [a-z]+.robtex.com in the pattern rather than just dns.robtex.com because many entries used host.robtex.com, top.robtex.com, etc. More improvements to follow. Originally committed by fyodor but recommitted by david after recovery from backup. --- scripts/hostmap-robtex.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hostmap-robtex.nse b/scripts/hostmap-robtex.nse index c379a96a0..3739c13a6 100644 --- a/scripts/hostmap-robtex.nse +++ b/scripts/hostmap-robtex.nse @@ -37,7 +37,7 @@ categories = { function parse_robtex_response (data) local result = {}; - for linkhref, domain in string.gmatch(data, "([^<]-)") do + for domain in string.gmatch(data, " 0) then