diff --git a/scripts/http-robtex-reverse-ip.nse b/scripts/http-robtex-reverse-ip.nse index 7a7865f55..7f5d35e83 100644 --- a/scripts/http-robtex-reverse-ip.nse +++ b/scripts/http-robtex-reverse-ip.nse @@ -48,7 +48,8 @@ function parse_robtex_response(data) local data = data:match(".-(.-)") local result = {} if data then - for domain in data:gmatch("
  • (.-)
  • ") do + for domain in data:gmatch("]*>(.-)") do + domain = domain:gsub("<[^>]+>","") table.insert(result, domain) end end