mirror of https://github.com/MISP/PyMISP
Authentication parameters updated
parent
7ddfff3f4d
commit
2cdf1aa88d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue