| To: | "oivind.lund@gmail.com" <oivind.lund@gmail.com> |
|---|---|
| Subject: | Re: DNS mapping |
| From: | pand0ra <pand0ra.usa@gmail.com> |
| Date: | Thu, 22 Feb 2007 09:12:34 -0700 |
| Cc: | pen-test@securityfocus.com |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | pentest-list2@consult.net |
| Delivered-to: | mailing list pen-test@securityfocus.com |
| Delivered-to: | moderator for pen-test@securityfocus.com |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pEyacRwXAyEvX8uv6HejiBPfdqZpt+21RJBpCmZaVv27uFWNSXugaw/Hb4Cz1kL83FcruOeZkqlnMU36C4K9siR9ZgxFsfOQVWgbBwPAipE9v/aGJsodugYth/+SazGg2yui2MFsN1AAG+sm0J3BFjwVUkrzm2s9k33hHZzPkmo= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jg9fKbiu7kP0pJAdfXzbk2jHsqt9bX1y8BRkn1i/G7UQ1NPqXjLREt/znkQ259d8dXuIk7EXNN9NhbMBgHvG0267z1a11czVRvnDauT9DoCPfkSuUxQZ8AjelG/z+Ytt0J1qYYQtwSJxzWM1K/TwBkM77VZARYhXKENcRroQOFw= |
| In-reply-to: | <20070218023833.24547.qmail@securityfocus.com> |
| List-help: | <mailto:pen-test-help@securityfocus.com> |
| List-id: | <pen-test.list-id.securityfocus.com> |
| List-post: | <mailto:pen-test@securityfocus.com> |
| List-subscribe: | <mailto:pen-test-subscribe@securityfocus.com> |
| List-unsubscribe: | <mailto:pen-test-unsubscribe@securityfocus.com> |
| Mailing-list: | contact pen-test-help@securityfocus.com; run by ezmlm |
| References: | <20070218023833.24547.qmail@securityfocus.com> |
| Resent-date: | Fri, 23 Feb 2007 19:31:25 -0700 (MST) |
| Resent-from: | pen-test-return-1078483611@securityfocus.com |
| Resent-message-id: | <20070224023125.2CA162402F3@outgoing2.securityfocus.com> |
| Resent-sender: | listbounce@securityfocus.com |
| Sender: | listbounce@securityfocus.com |
Here is a .bat file you can try. You need a file called hostnames.txt that contains a list of hosts you want to test. Feel free to replace the ping command with whatever command you want to use to do your lookups, it's just there as an example. @echo off :START CLS FOR /F "Tokens=1" %%a in (hostnames.txt) Do ( IF "%%a" == "END" GOTO END REM Add DATE and TIME stamp date /t>%%a.dns.txt time /t>>%%a.dns.txt ECHO Checking %%a now. ping -a -n 1 >>%%a.dns.txt ) :END Here is a reference for batch files that is pretty good. http://labmice.techtarget.com/articles/batchcmds.htm On 18 Feb 2007 02:38:33 -0000, oivind.lund@gmail.com <oivind.lund@gmail.com> wrote: I was wondering if there is an easy way to write a script to use for reverse DNS mapping. For instance, inputting the address test.com to the script and then having the script reverse mapping the address and testing other common DNS names like mail.test.com , web.test.com etc ? Or maybe there is a tool available which allows me to do this and make my own list of common DNS names ? ------------------------------------------------------------------------ This List Sponsored by: Cenzic Need to secure your web apps? Cenzic Hailstorm finds vulnerabilities fast. Click the link to buy it, try it or download Hailstorm for FREE. http://www.cenzic.com/products_services/download_hailstorm.php?camp=701600000008bOW ------------------------------------------------------------------------ ------------------------------------------------------------------------ This List Sponsored by: Cenzic Need to secure your web apps? Cenzic Hailstorm finds vulnerabilities fast. Click the link to buy it, try it or download Hailstorm for FREE. http://www.cenzic.com/products_services/download_hailstorm.php?camp=701600000008bOW ------------------------------------------------------------------------ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Ethical hacker article published, Craig Wright |
|---|---|
| Next by Date: | Penetration Testing Framework 0.24 released, toggmeister |
| Previous by Thread: | Re: DNS mapping, pand0ra |
| Next by Thread: | RE: DNS mapping, Marc Ouwerkerk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |