Penetration Testing mailing list archives

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


From: "Laumann, Dave" <dlaumann () SUNTZU NET>
Date: Wed, 18 Oct 2000 14:05:29 -0500

fwiw, cut 'n paste into a bat/cmd file, redirection can be done on command
line, or added...

+---+---+---+---+---+---+
@echo off

rem dave's quik hak cli zone-xfr

:check1
if not "%1"=="" goto check2
goto useage

:check2
if not "%2"=="" goto runit
goto useage

:runit
echo ls -d %2 | nslookup - %1
goto exit

:useage
echo useage: %0 ^<dns server^> ^<zone^>

:exit
+---+---+---+---+---+---+

-dave


Current thread: