mirror of https://github.com/MISP/PyMISP
supress ssl warnings
parent
60ba858527
commit
05d4da46a5
|
@ -3,6 +3,8 @@ from requests.auth import HTTPBasicAuth
|
||||||
import json
|
import json
|
||||||
from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation
|
from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation
|
||||||
from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret
|
from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret
|
||||||
|
import urllib3
|
||||||
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
||||||
|
|
||||||
if proofpoint_secret == '<proofpoint secret>':
|
if proofpoint_secret == '<proofpoint secret>':
|
||||||
print('Set the proofpoint_secret in keys.py before running. Exiting...')
|
print('Set the proofpoint_secret in keys.py before running. Exiting...')
|
||||||
|
|
Loading…
Reference in New Issue