batchyDNS

Link tools you like and want to share.
Post Reply
mthrynn
n00b
Posts: 3
Joined: Thu Dec 06, 2012 12:16 pm

batchyDNS

Post by mthrynn » Thu Dec 06, 2012 9:46 pm

https://github.com/SpiderLabs/batchyDNS

A great perl utility that converts IP addresses into DNS hostnames. Great
for pentests and basket parties.

User avatar
Cool_Fire
Not a sandwich
Posts: 1887
Joined: Fri May 09, 2003 1:20 pm
Location: 41 6d 73 74 65 72 64 61 6d
Contact:

Re: batchyDNS

Post by Cool_Fire » Fri Dec 07, 2012 7:31 am

Not to rain on your parade, but dig does the same with the -x flag. And nslookup does it by default if you give it an ip address instead of a domain name.
If we're breaking the rules, then how come you can't catch us? You can't find us? I know why. Cause, it's ... MAGIC!
Hackerthreads chat, where the party is going 24/7.

mthrynn
n00b
Posts: 3
Joined: Thu Dec 06, 2012 12:16 pm

Re: batchyDNS

Post by mthrynn » Fri Dec 07, 2012 10:37 am

I think the cool bit was in the fact that you could feed it an IP list. The script is super short, and really pretty uneventful except for the while loop that allows you all of the domain names for each given IP for all of the IPs in your list. It just saves on typing. :D

User avatar
Cool_Fire
Not a sandwich
Posts: 1887
Joined: Fri May 09, 2003 1:20 pm
Location: 41 6d 73 74 65 72 64 61 6d
Contact:

Re: batchyDNS

Post by Cool_Fire » Fri Dec 07, 2012 2:56 pm

Code: Select all

for IP in `cat iplist.txt`; do
    dig -x +short $IP
done
If we're breaking the rules, then how come you can't catch us? You can't find us? I know why. Cause, it's ... MAGIC!
Hackerthreads chat, where the party is going 24/7.

mthrynn
n00b
Posts: 3
Joined: Thu Dec 06, 2012 12:16 pm

Re: batchyDNS

Post by mthrynn » Fri Dec 07, 2012 3:15 pm

ha! touche'.

User avatar
Cool_Fire
Not a sandwich
Posts: 1887
Joined: Fri May 09, 2003 1:20 pm
Location: 41 6d 73 74 65 72 64 61 6d
Contact:

Re: batchyDNS

Post by Cool_Fire » Fri Dec 07, 2012 5:31 pm

It's a useful snippet to use if you're writing some perl program that needs it of course.
If we're breaking the rules, then how come you can't catch us? You can't find us? I know why. Cause, it's ... MAGIC!
Hackerthreads chat, where the party is going 24/7.

Post Reply