Fix virustotal UnboundLocalError: local variable virustotal referenced before assignment

This commit is contained in:
Jay Townsend
2019-08-11 21:19:54 +01:00
parent fb555969da
commit b59619bddf
+1
View File
@@ -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())