gcrahay / otx_misp

Imports Alienvault OTX pulses to a MISP instance
Other
52 stars 42 forks source link

Add --proxy argument #24

Open mboman opened 6 years ago

mboman commented 6 years ago

Description

Would be great if a proxy-server could be specified using command argument/configuration file. My experience with using environment variables has been a hit-n-miss (not always working).

Versions

Traceback or error

CriimBow commented 5 years ago

You just need to have theses values in your environment: http_proxy and https_proxy. Try this :

export http_proxy=http://proxy.myproxy.com
export https_proxy=https://proxy.myproxy.com

If you are using sudo don't forget to add -E option : sudo -E