Authentication parameters updated

pull/3/head
Alexandre Dulaunoy 2015-11-06 11:40:27 +01:00
parent 7ddfff3f4d
commit 2cdf1aa88d
1 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,7 @@
# -*- coding: utf-8 -*-
from pymisp import PyMISP
from keys import url_priv, key_priv
# from keys import url_cert, key_cert
from keys import misp_url, misp_key
import argparse
import os
import json
@ -39,7 +38,6 @@ if __name__ == '__main__':
print('Output file already exists, abord.')
exit(0)
misp = init(url_priv, key_priv)
# misp = init(url_cert, key_cert)
misp = init(misp_url, misp_key)
searchall(misp, args.search, args.quiet, url_priv, args.output)
searchall(misp, args.search, args.quiet, misp_url, args.output)