c0deh4xor / theharvester

Automatically exported from code.google.com/p/theharvester
GNU General Public License v2.0
0 stars 0 forks source link

dns-brute forcing error and fix #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. theharvester -d target-domain -b all -v -f target-domain.html -n -c
2.
3.

What is the expected output? What do you see instead?

-Expected output of the command should include a dns brute forcing of said 
target.
-What is seen is an error that the program is having trouble opening 
dns-search.txt

What version of the product are you using? On what operating system?
-Version of theharvester is 2.2a on fully updated Kali Linux

Please provide any additional information below.
-I solved the issue by replacing "f = open(self.file,"r")" in 
dnssearch-threads.py to "f = open(self.file,"dns-search.txt")" and all ran 
great with no errors.

Hopefully this will help others that are having the same issues

Original issue reported on code.google.com by william....@gmail.com on 20 Apr 2014 at 10:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
OK, previously thought I had fixed the issue by changing "f = 
open(self.file,"r")" in dnssearch-threads.py to "f = 
open(self.file,"dns-search.txt")", but I had forgot that I was in 
/usr/share/theharvester/discovery/ directory.  I had actually changed the code 
back to "f = open(self.file,"r")" and copied dns-names.txt to my home directory 
and ran theharvester from there and there was no errors.  Hopefully this helps 
others.

Original comment by william....@gmail.com on 20 Apr 2014 at 10:35

GoogleCodeExporter commented 8 years ago
Fixed in latest version https://github.com/laramies/theHarvester

Original comment by laramies@gmail.com on 17 Dec 2014 at 12:03