Lance Grover

Lance Grover

TheHarvester on Kali – and dns brute force

Posted date:


Just a quick note wile performing recon on a customer I struggled with the dns-names.txt issue on kali, basically thehavester is looking for a file named dns-names.txt in the current directory when you are requesting to perform a dns brute force.  The good news is the file exists in two spots on a kali box:

yourname@kali:~/Desktop$ locate dns-names.txt
/usr/share/golismero/tools/theHarvester/dns-names.txt
/usr/share/golismero/tools/theHarvester/discovery/dns-names.txt

this is used when you pass the “-c” option, so the easiest work around until this gets updated is to copy one of these files into your current directory.  On my box both were the exact same file.