mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-23 18:14:57 +02:00
PEP8 fix shodan module
This commit is contained in:
@@ -4,7 +4,7 @@ from shodan import exception
|
||||
from shodan import Shodan
|
||||
|
||||
|
||||
class search_shodan:
|
||||
class SearchShodan:
|
||||
|
||||
def __init__(self):
|
||||
self.key = Core.shodan_key()
|
||||
|
||||
+1
-1
@@ -817,7 +817,7 @@ def start():
|
||||
try:
|
||||
for ip in host_ip:
|
||||
print(('\tSearching for ' + ip))
|
||||
shodan = shodansearch.search_shodan()
|
||||
shodan = shodansearch.SearchShodan()
|
||||
rowdata = shodan.search_ip(ip)
|
||||
time.sleep(2)
|
||||
tab.add_row(rowdata)
|
||||
|
||||
Reference in New Issue
Block a user