From b0e390fd8d939b6f37d08e4b23b168f381dd2106 Mon Sep 17 00:00:00 2001 From: Jay Townsend Date: Sun, 11 Aug 2019 21:24:56 +0100 Subject: [PATCH] Fix yahoo UnboundLocalError: local variable yahoosearch referenced before assignment --- theHarvester/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 4cea24d7..dd9dcc15 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -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()