otx_misp
otx_misp copied to clipboard
Add --proxy argument
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
- otx-misp: 1.4.2
- PyMISP: 2.4.93
- MISP: 2.4.92
- Python (Python 2 will not be supported): 3.4.8
- Operating system: RHEL 7.5
Traceback or error
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