Add a version per default

pull/1/head
Alexandre Dulaunoy 2016-02-24 00:53:15 +01:00
parent 78a0e661ba
commit fc609dd987
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import json
import dns.resolver
mispattributes = {'input':['hostname', 'domain'], 'output':['ip-src', 'ip-dst']}
moduleinfo = "0.1"
def handler(q=False):
if q is False:
@ -26,4 +27,6 @@ def handler(q=False):
def introspection():
return mispattributes['input']
return mispattributes
def version():
return moduleinfo