mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-20 07:16:31 +08:00
Pep8 Fix
This commit is contained in:
parent
4c2054a8d8
commit
9cad6a5392
|
@ -3,7 +3,7 @@
|
|||
import requests
|
||||
|
||||
|
||||
class search_virustotal:
|
||||
class SearchVirustotal:
|
||||
|
||||
def __init__(self, word):
|
||||
self.word = word.replace(' ', '%20')
|
||||
|
|
|
@ -382,7 +382,7 @@ def start():
|
|||
|
||||
elif engineitem == 'virustotal':
|
||||
print('\033[94m[*] Searching VirusTotal. \033[0m')
|
||||
search = virustotal.search_virustotal(word)
|
||||
search = virustotal.SearchVirustotal(word)
|
||||
search.process()
|
||||
hosts = filter(search.get_hostnames())
|
||||
all_hosts.extend(hosts)
|
||||
|
@ -678,7 +678,7 @@ def start():
|
|||
vhost = sorted(set(vhost))
|
||||
|
||||
print('\033[94m[*] Searching VirusTotal. \033[0m')
|
||||
search = virustotal.search_virustotal(word)
|
||||
search = virustotal.SearchVirustotal(word)
|
||||
search.process()
|
||||
hosts = filter(search.get_hostnames())
|
||||
all_hosts.extend(hosts)
|
||||
|
|
Loading…
Reference in a new issue