mirror of
https://github.com/laramies/theHarvester.git
synced 2024-11-11 18:03:10 +08:00
fix huntersearch
This commit is contained in:
parent
b96490d9c3
commit
78cad1be4d
2 changed files with 5 additions and 7 deletions
|
@ -22,19 +22,17 @@ def do_search(self):
|
||||||
response = grequests.map([request])
|
response = grequests.map([request])
|
||||||
self.total_results = response[0].content.decode('UTF-8')
|
self.total_results = response[0].content.decode('UTF-8')
|
||||||
|
|
||||||
|
|
||||||
def process(self):
|
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):
|
def get_emails(self):
|
||||||
rawres = myparser.Parser(self.totalresults, self.word)
|
rawres = myparser.Parser(self.total_results, self.word)
|
||||||
return rawres.emails()
|
return rawres.emails()
|
||||||
|
|
||||||
def get_hostnames(self):
|
def get_hostnames(self):
|
||||||
rawres = myparser.Parser(self.totalresults, self.word)
|
rawres = myparser.Parser(self.total_results, self.word)
|
||||||
return rawres.hostnames()
|
return rawres.hostnames()
|
||||||
|
|
||||||
def get_profiles(self):
|
def get_profiles(self):
|
||||||
rawres = myparser.Parser(self.totalresults, self.word)
|
rawres = myparser.Parser(self.total_results, self.word)
|
||||||
return rawres.profiles()
|
return rawres.profiles()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue