From b59619bddf9e9a1ec93e0e62df80bd9a0efd7352 Mon Sep 17 00:00:00 2001 From: Jay Townsend Date: Sun, 11 Aug 2019 21:19:54 +0100 Subject: [PATCH] Fix virustotal UnboundLocalError: local variable virustotal referenced before assignment --- theHarvester/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 9bd5db46..4cea24d7 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -367,6 +367,7 @@ def start(): elif engineitem == 'virustotal': print('\033[94m[*] Searching VirusTotal. \033[0m') + from theHarvester.discovery import virustotal search = virustotal.SearchVirustotal(word) search.process() hosts = filter(search.get_hostnames())