Penetration Testing mailing list archives
Re: [PEN-TEST] DNS zone transfer tool for NT
From: "Wannemacher, Eric" <EricW () METATEC COM>
Date: Tue, 17 Oct 2000 13:35:38 -0400
How about: echo ls -d %1 | nslookup - %2 > c:\zone.txt in a batch file dnsxfr.bat with a command line of dnsxfr.bat <domain> <target name server> to accomplish this? -----Original Message----- From: H Carvey [mailto:keydet89 () YAHOO COM] Sent: Tuesday, October 17, 2000 7:40 AM To: PEN-TEST () SECURITYFOCUS COM Subject: Re: DNS zone transfer tool for NT 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:
- Re: [PEN-TEST] DNS zone transfer tool for NT, (continued)
- Re: [PEN-TEST] DNS zone transfer tool for NT Ted Behling (Oct 14)
- Re: [PEN-TEST] DNS zone transfer tool for NT Carter, Adam (Oct 14)
- Re: [PEN-TEST] DNS zone transfer tool for NT H Carvey (Oct 15)
- Re: [PEN-TEST] DNS zone transfer tool for NT Aurobindo Sundaram (Oct 15)
- Re: [PEN-TEST] DNS zone transfer tool for NT Nelson Brito (Oct 24)
- Re: [PEN-TEST] DNS zone transfer tool for NT Stephenson, Peter (Oct 15)
- Re: [PEN-TEST] DNS zone transfer tool for NT Jim Linski (Oct 16)
- Re: [PEN-TEST] DNS zone transfer tool for NT Adrian (Oct 16)
- Re: [PEN-TEST] DNS zone transfer tool for NT H Carvey (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Frasnelli, Dan (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Wannemacher, Eric (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Frank Knobbe (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Laumann, Dave (Oct 18)
- Re: [PEN-TEST] DNS zone transfer tool for NT Carskadden, Rush (Oct 24)