mirror of https://github.com/MISP/PyMISP
				
				
				
			Update upload.py
							parent
							
								
									fb355d3acb
								
							
						
					
					
						commit
						11b1403e4c
					
				|  | @ -2,14 +2,14 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| 
 | ||||
| from pymisp import PyMISP | ||||
| from keys import misp_url, misp_key | ||||
| from keys import misp_url, misp_key,misp_verifycert | ||||
| import argparse | ||||
| import os | ||||
| import glob | ||||
| 
 | ||||
| 
 | ||||
| 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): | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Alexander J
						Alexander J