INNER CODE UNIT · Python
shodan_key
XDeadHackerX/The_spy_job · requisitos/theHarvester/theHarvester/lib/core.py:76
def shodan_key() -> str:
return Core.api_keys()['shodan']['key']
@staticmethod
def spyse_key() -> str:
return Core.api_keys()['spyse']['key']
@staticmethod
def zoomeye_key() -> str:
return Core.api_keys()['zoomeye']['key']
@staticmethod
def proxy_list() -> List:
try:
with open('/etc/theHarvester/proxies.yaml', 'r') as proxy_file:
keys = yaml.safe_load(proxy_file)
except FileNotFoundError:
try: