Results 1 to 7 of 7

Thread: How to upgrade your dnsenum to the latest version

Hybrid View

  1. #1
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default How to upgrade your dnsenum to the latest version

    One of Offensive Security/Remote-exploits own Barbsie has a tool in BT3 called dnsenum. The release was anounced in another thread however it needs a few extra packages to get going so I figured I do a little write up.

    Special Thanks to linuxchuck for helping me with finding the perl modules

    Anyway its not hard. Download the tool here.

    It goes in the /pentest/enumeration/dnsenum folder. I just deleted all the old stuff in there and replaced it with the new files. The kde menu link is the same if you do it that way. No need to change that.

    All that was still needed was 2 Perl modules which are HERE and HERE.

    In order to install a perl mudule just

    bt~#tar xzvf (filename).tar.gz
    bt~#cd (filename)
    bt~#perl Makefile.PL
    bt~#make
    bt~#make test
    bt~#make install


    Do that for both files and now you brand spanking new version of dnsenum should be ready to go.


    Thanks again to linuxchuck for the help

  2. #2
    Junior Member
    Join Date
    Aug 2007
    Posts
    55

    Default alternative: doing it the perl way

    alternatively, just use the usual perl cpan way:

    just type: "perl -MCPAN -e shell" in a terminal window, follow the instructions and when it's finished just type:

    cpan>install Net::Whois::IP

    etc...

    cheers

    Barbsie

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Thanks Barbsie I just didnt know how to do it that way but I knew there was a way.

  4. #4
    Junior Member
    Join Date
    Aug 2007
    Posts
    55

    Default cleaning up your dns.txt file

    O,

    thought I just might mention this:
    If you auto add results to your dns.txt file using the -u switch, you can clean up your dns.txt file like this:

    sort dns.txt | uniq > dns2.txt

    this will sort and remove dups
    then just mv dns2.txt dns.txt

  5. #5
    Senior Member PrairieFire's Avatar
    Join Date
    Apr 2007
    Posts
    705

    Default

    Worked for me:
    Code:
    cpan>install Net::Whois::IP
    cpan>install Net::Netmask
    Thanks Barbsie
    Μολὼν λαβέ - Great spirits encounter heavy opposition from mediocre minds.

  6. #6
    Good friend of the forums williamc's Avatar
    Join Date
    Feb 2010
    Location
    Chico CA
    Posts
    285

    Default

    Quote Originally Posted by pureh@te View Post
    In order to install a perl mudule just

    bt~#tar xzvf (filename).tar.gz
    bt~#cd (filename)
    bt~#perl Makefile.PM
    bt~#make
    bt~#make test
    bt~#make install


    Do that for both files and now you brand spanking new version of dnsenum should be ready to go.


    Thanks again to linuxchuck for the help
    Just to clarify for the newbies. Its perl Makefile.PL, not Makefile.PM as mentioned in the steps above. Otherwise, all is good!

    William

  7. #7
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Quote Originally Posted by williamc View Post
    Just to clarify for the newbies. Its perl Makefile.PL, not Makefile.PM as mentioned in the steps above. Otherwise, all is good!

    William
    You are correct. A small typo.Edited and fixed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •