Update upload.py

pull/4/head
Alexander J 2016-02-12 11:33:45 +01:00
parent fb355d3acb
commit 11b1403e4c
1 changed files with 2 additions and 2 deletions

View File

@ -2,14 +2,14 @@
# -*- 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 glob import glob
def init(url, key): def init(url, key):
return PyMISP(url, key, True, 'json') return PyMISP(url, key, misp_verifycert, 'json')
def upload_files(m, eid, paths, distrib, ids, categ, info, analysis, threat): def upload_files(m, eid, paths, distrib, ids, categ, info, analysis, threat):