mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-26 07:23:17 +08:00
Pushed change.
This commit is contained in:
parent
e3830546fc
commit
11e4981285
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def proxy_list() -> List:
|
|||
with open('/etc/theHarvester/proxies.yaml', 'r') as api_keys:
|
||||
keys = yaml.safe_load(api_keys)
|
||||
except FileNotFoundError:
|
||||
with open('/mnt/d/repos/theHarvester/proxies.yaml', 'r') as api_keys:
|
||||
with open('proxies.yaml', 'r') as api_keys:
|
||||
keys = yaml.safe_load(api_keys)
|
||||
http_list = [f'http://{proxy}' for proxy in keys['http']] if keys['http'] is not None else []
|
||||
return http_list
|
||||
|
|
Loading…
Reference in a new issue