Typo fixed + meta output

pull/2/head
Alexandre Dulaunoy 2016-03-09 08:59:12 +01:00
parent 715e7f3a4b
commit 2eb6d159f4
2 changed files with 6 additions and 2 deletions

View File

@ -52,7 +52,11 @@ MISP uses the **modules** function to discover the available MISP modules and th
"domain"
]
},
"meta": "0.1",
"meta": {
"description": "PassiveTotal expansion service to expand values with multiple Passive DNS sources",
"author": "Alexandre Dulaunoy",
"version": "0.1"
},
"name": "passivetotal",
"type": "expansion"
},

View File

@ -3,7 +3,7 @@ import requests
misperrors = {'error' : 'Error'}
mispattributes = {'input': ['hostname', 'domain', 'ip-src', 'ip-dst', 'module-username','module-password'], 'output': ['ip-src', 'ip-dst', 'hostname', 'domain']}
moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'SPassiveTotal expansion service to expand values with multiple Passive DNS sources'}
moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'PassiveTotal expansion service to expand values with multiple Passive DNS sources'}
passivetotal_url = 'https://api.passivetotal.org/v2/dns/passive?query='
def handler(q=False):