Nmap Development mailing list archives

Re: [NSE] Dual-stack (IPv4/6) bug/feature?


From: David Fifield <david () bamsoftware com>
Date: Sat, 15 Sep 2012 08:04:54 -0700

On Sat, Sep 15, 2012 at 04:41:29PM +0200, John Bond wrote:
On 13 September 2012 22:15, David Fifield <david () bamsoftware com> wrote:

Which patch are you talking about? I don't see one in your original
message at http://seclists.org/nmap-dev/2012/q2/637.

Oops sorry me and daniel had a conversation off list pasted below for
the archives.  I have made a new patch.

Thanks, I applied it. I stripped out the set_port_version("hardmatched")
changed because those are unnecessary. I also didn't apply this hunk;
can you explain it and tell me what to put in the commit message?

David Fifield

diff --git a/scripts/hbase-region-info.nse b/scripts/hbase-region-info.nse
index 3364562..c92b7ad 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"
+       -- local uri = "/regionserver.jsp"
+       -- this may stop this working with older clusters, need to test
+       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"))
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: