From 9f0f8e33c0b6aed154604eaba7568601ec14e669 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 18 Sep 2012 21:22:14 +0000 Subject: [PATCH] Change hbase-region-info URL to /rs-status. http://seclists.org/nmap-dev/2012/q3/903 --- scripts/hbase-region-info.nse | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/hbase-region-info.nse b/scripts/hbase-region-info.nse index 336456237..130745179 100644 --- a/scripts/hbase-region-info.nse +++ b/scripts/hbase-region-info.nse @@ -53,7 +53,9 @@ action = function( host, port ) local result = {} local region_servers = {} - local uri = "/regionserver.jsp" + -- uri was previously "/regionserver.jsp". See + -- http://seclists.org/nmap-dev/2012/q3/903. + local uri = "/rs-status" stdnse.print_debug(1, ("%s:HTTP GET %s:%s%s"):format(SCRIPT_NAME, host.targetname or host.ip, port.number, uri)) local response = http.get( host, port, uri ) stdnse.print_debug(1, ("%s: Status %s"):format(SCRIPT_NAME,response['status-line'] or "No Response"))