mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-22 08:16:35 +08:00
Fix yahoo UnboundLocalError: local variable yahoosearch referenced before assignment
This commit is contained in:
parent
b59619bddf
commit
b0e390fd8d
|
@ -377,6 +377,7 @@ def start():
|
|||
|
||||
elif engineitem == 'yahoo':
|
||||
print('\033[94m[*] Searching Yahoo. \033[0m')
|
||||
from theHarvester.discovery import yahoosearch
|
||||
search = yahoosearch.SearchYahoo(word, limit)
|
||||
search.process()
|
||||
hosts = search.get_hostnames()
|
||||
|
|
Loading…
Reference in a new issue