From 006103d2fe9f8900fa7323cd987ac4f0e12537b2 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 6 Nov 2015 11:12:31 +0100 Subject: [PATCH] Normalized auth parameters --- examples/yara.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/yara.py b/examples/yara.py index 54820e4..bb2cc47 100755 --- a/examples/yara.py +++ b/examples/yara.py @@ -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 @@ -34,7 +33,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) get_yara(misp, args.event, args.output)