mirror of https://github.com/MISP/misp-modules
Add a version per default
parent
78a0e661ba
commit
fc609dd987
|
@ -2,6 +2,7 @@ import json
|
||||||
import dns.resolver
|
import dns.resolver
|
||||||
|
|
||||||
mispattributes = {'input':['hostname', 'domain'], 'output':['ip-src', 'ip-dst']}
|
mispattributes = {'input':['hostname', 'domain'], 'output':['ip-src', 'ip-dst']}
|
||||||
|
moduleinfo = "0.1"
|
||||||
|
|
||||||
def handler(q=False):
|
def handler(q=False):
|
||||||
if q is False:
|
if q is False:
|
||||||
|
@ -26,4 +27,6 @@ def handler(q=False):
|
||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
|
|
||||||
return mispattributes['input']
|
return mispattributes
|
||||||
|
def version():
|
||||||
|
return moduleinfo
|
||||||
|
|
Loading…
Reference in New Issue