diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 7ef7daf3..c7c7f2fa 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -53,7 +53,7 @@ def start(): parser.add_argument('-c', '--dns-brute', help='perform a DNS brute force on the domain', default=False, action='store_true') parser.add_argument('-f', '--filename', help='save the results to an HTML and/or XML file', default='', type=str) parser.add_argument('-b', '--source', help='''baidu, bing, bingapi, censys, crtsh, dnsdumpster, - dogpile, duckduckgo, exalead, github-code, google, + dogpile, duckduckgo, exalead, github-code, google, hunter, intelx, linkedin, netcraft, securityTrails, threatcrowd, trello, twitter, vhost, virustotal, yahoo, all''') diff --git a/theHarvester/discovery/huntersearch.py b/theHarvester/discovery/huntersearch.py index 40d41a81..e4bbc8c9 100644 --- a/theHarvester/discovery/huntersearch.py +++ b/theHarvester/discovery/huntersearch.py @@ -22,19 +22,17 @@ def do_search(self): response = grequests.map([request]) self.total_results = response[0].content.decode('UTF-8') - def process(self): - self.do_search() # Only need to do it once. + self.do_search() # Only need to do it once. def get_emails(self): - rawres = myparser.Parser(self.totalresults, self.word) + rawres = myparser.Parser(self.total_results, self.word) return rawres.emails() def get_hostnames(self): - rawres = myparser.Parser(self.totalresults, self.word) + rawres = myparser.Parser(self.total_results, self.word) return rawres.hostnames() def get_profiles(self): - rawres = myparser.Parser(self.totalresults, self.word) + rawres = myparser.Parser(self.total_results, self.word) return rawres.profiles() -