Nmap Development mailing list archives

Re: Zone Transfer Results


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Mon, 28 Jul 2008 19:39:10 -0600

Hi,

On Mon, Jul 28, 2008 at 5:29 AM, Rob Nicholls
<robert () everythingeverything co uk> wrote:
I was testing out SVN 9146 and spotted that the zone-transfer script is
displaying the results in a slightly strange way, different to the behaviour
seen with 4.68. I hope it still makes sense after some obfuscation,
basically the full stops are incorrectly displayed if they're part of a
string (IP addresses appear to be unaffected):

SVN:
|  zone-transfer:
|  xxxxxx\2co\2uk\0            SOA     ns1\15yyyyyy\3net\0
server\15zzzzzz\-64net\0
|  xxxxxx\2co\2uk\0            MX      xxxxxx\2co\2uk\0
|  xxxxxx\2co\2uk\0            NS      ns1\15yyyyyy\3net\0
|  xxxxxx\2co\2uk\0            NS      ns2\-64yyyyyy\3net\0
|  xxxxxx\2co\2uk\0            A       aa.bb.cc.dd
|  ftp\-64xxxxxx\2co\2uk\0        CNAME
|  localhost\-64xxxxxx\2co\2uk\0  A       127.0.0.1
|  mail\-64xxxxxx\2co\2uk\0       CNAME
|  www\-64xxxxxx\2co\2uk\0        CNAME
|_ xxxxxx\2co\2uk\0            SOA     ns1\15yyyyyy\3net\0
server\15zzzzzz\-64net\0

4.68:
|  zone-transfer:
|  xxxxxx.co.uk.            SOA     ns1.yyyyyy.net. server.zzzzzz.net.
|  xxxxxx.co.uk.            MX      xxxxxx.co.uk.
|  xxxxxx.co.uk.            NS      ns1.yyyyyy.net.
|  xxxxxx.co.uk.            NS      ns2.yyyyyy.net.
|  xxxxxx.co.uk.            A       aa.bb.cc.dd
|  ftp.xxxxxx.co.uk.        CNAME
|  localhost.xxxxxx.co.uk.  A       127.0.0.1
|  mail.xxxxxx.co.uk.       CNAME
|  www.xxxxxx.co.uk.        CNAME
|_ xxxxxx.co.uk.            SOA     ns1.yyyyyy.net. server.zzzzzz.net.

It looks like the script itself has barely changed since January, so I
presume something else internally has changed. Does anyone know what's at
fault?

Rob

It appears the script was relying on an old behavior that unprintable
characters would be changed to a period, '.'. The script needs to be
changed so that it uses periods instead.

Thanks,

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: