mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Disable Robtex NSE scripts due to API changes.
This commit is contained in:
@@ -5,6 +5,8 @@ local slaxml = require "slaxml"
|
||||
|
||||
description = [[
|
||||
Discovers hostnames that resolve to the target's IP address by querying the online Robtex service at http://ip.robtex.com/.
|
||||
|
||||
*TEMPORARILY DISABLED* due to changes in Robtex's API. See https://www.robtex.com/api/
|
||||
]]
|
||||
|
||||
---
|
||||
@@ -31,6 +33,12 @@ categories = {
|
||||
}
|
||||
|
||||
|
||||
prerule = function() return true end
|
||||
action = function()
|
||||
return "*TEMPORARILY DISABLED* due to changes in Robtex's API. See https://www.robtex.com/api/"
|
||||
end
|
||||
|
||||
--[[
|
||||
--- Scrape domains sharing target host ip from robtex website
|
||||
--
|
||||
-- //section[@id="x_shared"]//li//text()
|
||||
@@ -74,3 +82,4 @@ action = function (host)
|
||||
end
|
||||
return output_tab
|
||||
end
|
||||
]]--
|
||||
|
||||
@@ -5,6 +5,8 @@ local table = require "table"
|
||||
|
||||
description = [[
|
||||
Obtains up to 100 forward DNS names for a target IP address by querying the Robtex service (https://www.robtex.com/ip-lookup/).
|
||||
|
||||
*TEMPORARILY DISABLED* due to changes in Robtex's API. See https://www.robtex.com/api/
|
||||
]]
|
||||
|
||||
---
|
||||
@@ -57,6 +59,11 @@ end
|
||||
|
||||
prerule = function() return stdnse.get_script_args("http-robtex-reverse-ip.host") ~= nil end
|
||||
|
||||
action = function()
|
||||
return "*TEMPORARILY DISABLED* due to changes in Robtex's API. See https://www.robtex.com/api/"
|
||||
end
|
||||
|
||||
--[[
|
||||
action = function(host, port)
|
||||
|
||||
local target = stdnse.get_script_args("http-robtex-reverse-ip.host")
|
||||
@@ -71,3 +78,4 @@ action = function(host, port)
|
||||
return stdnse.format_output(true, domains)
|
||||
end
|
||||
end
|
||||
]]--
|
||||
|
||||
@@ -7,6 +7,8 @@ description = [[
|
||||
Finds up to 100 domain names which use the same name server as the target by querying the Robtex service at http://www.robtex.com/dns/.
|
||||
|
||||
The target must be specified by DNS name, not IP address.
|
||||
|
||||
*TEMPORARILY DISABLED* due to changes in Robtex's API. See https://www.robtex.com/api/
|
||||
]]
|
||||
|
||||
---
|
||||
@@ -30,6 +32,12 @@ author = "Arturo 'Buanzo' Busleiman"
|
||||
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
||||
categories = {"discovery", "safe", "external"}
|
||||
|
||||
prerule = function() return true end
|
||||
action = function()
|
||||
return "*TEMPORARILY DISABLED* due to changes in Robtex's API. See https://www.robtex.com/api/"
|
||||
end
|
||||
|
||||
--[[
|
||||
local function unescape(s)
|
||||
return string.gsub(s, "\\x(%x%x)", function(hex)
|
||||
return string.char(tonumber(hex, 16))
|
||||
@@ -100,3 +108,4 @@ action = function(host)
|
||||
return stdnse.format_output(true, domains)
|
||||
end
|
||||
end
|
||||
]]--
|
||||
|
||||
Reference in New Issue
Block a user