mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-27 12:04:51 +02:00
Fix virustotal UnboundLocalError: local variable virustotal referenced before assignment
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user