From 2eb6d159f432448b3945e56d4b507b796203207b Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 9 Mar 2016 08:59:12 +0100 Subject: [PATCH] Typo fixed + meta output --- README.md | 6 +++++- modules/expansion/passivetotal.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38ffb8f..183d4ae 100644 --- a/README.md +++ b/README.md @@ -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" }, diff --git a/modules/expansion/passivetotal.py b/modules/expansion/passivetotal.py index ad6b7b1..dbe3571 100755 --- a/modules/expansion/passivetotal.py +++ b/modules/expansion/passivetotal.py @@ -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):