Penetration Testing mailing list archives

Re: [PEN-TEST] DNS zone transfer tool for NT


From: H Carvey <keydet89 () YAHOO COM>
Date: Tue, 17 Oct 2000 11:40:04 -0000

I'm sure that if you try it yourself, you'll see 
that this won't work.  

You see, that portion of nslookup is 
interactive.  So, the following needs to be 
scripted:

c:\>nslookup
server {host}
ls -d {domain}

Your batch file doesn't contain the switch to 
the necessary server to test the transfer 
capability.


Couldn't something as simple as:

echo ls -d %1|nslookup >c:\zone.txt

In a batch file accomplish an:

ls -d <domainname>

in a scripted form?


Current thread: