diff --git a/examples/copy_list.py b/examples/copy_list.py old mode 100644 new mode 100755 index b7a1a55..bd60e5b --- a/examples/copy_list.py +++ b/examples/copy_list.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- import sys diff --git a/examples/create_events.py b/examples/create_events.py index 2f0e68a..d7e8649 100755 --- a/examples/create_events.py +++ b/examples/create_events.py @@ -16,7 +16,7 @@ def init(url, key): return PyMISP(url, key, True, 'json') if __name__ == '__main__': - parser = argparse.ArgumentParser(description='Send malware sample to MISP.') + parser = argparse.ArgumentParser(description='Create an event on MISP.') parser.add_argument("-d", "--distrib", type=int, help="The distribution setting used for the attributes and for the newly created event, if relevant. [0-3].") parser.add_argument("-i", "--info", help="Used to populate the event info field if no event ID supplied.") parser.add_argument("-a", "--analysis", type=int, help="The analysis level of the newly created event, if applicatble. [0-2]") diff --git a/examples/get_network_activity.py b/examples/get_network_activity.py index e854393..433a9d8 100755 --- a/examples/get_network_activity.py +++ b/examples/get_network_activity.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- """ diff --git a/examples/last.py b/examples/last.py index 5eab820..75f8162 100755 --- a/examples/last.py +++ b/examples/last.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- from pymisp import PyMISP -from keys import misp_url, misp_key,misp_verifycert +from keys import misp_url, misp_key, misp_verifycert import argparse import os import json