mirror of https://github.com/MISP/PyMISP
Update last.py
parent
3a2414bc8c
commit
b5764c8660
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from pymisp import PyMISP
|
from pymisp import PyMISP
|
||||||
from keys import misp_url, misp_key
|
from keys import misp_url, misp_key,misp_verifycert
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
|
@ -12,7 +12,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def init(url, key):
|
def init(url, key):
|
||||||
return PyMISP(url, key, True, 'json')
|
return PyMISP(url, key, misp_verifycert, 'json')
|
||||||
|
|
||||||
|
|
||||||
def download_last(m, last, out=None):
|
def download_last(m, last, out=None):
|
||||||
|
|
Loading…
Reference in New Issue