mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 22:42:56 +08:00
fix flake8 issue in hacker target
This commit is contained in:
parent
250897140e
commit
a10a412e76
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ class SearchHackerTarget:
|
|||
"""
|
||||
Class uses the HackerTarget api to gather subdomains and ips
|
||||
"""
|
||||
|
||||
def __init__(self, word):
|
||||
self.word = word
|
||||
self.total_results = ""
|
||||
|
@ -24,4 +25,4 @@ async def process(self, proxy=False):
|
|||
await self.do_search()
|
||||
|
||||
async def get_hostnames(self) -> list:
|
||||
return [result for result in self.total_results.splitlines() if not 'No PTR records found' in result]
|
||||
return [result for result in self.total_results.splitlines() if 'No PTR records found' not in result]
|
||||
|
|
Loading…
Reference in a new issue