diff --git a/modules/expansion/cve.py b/modules/expansion/cve.py index 486cb17..0d9d11a 100755 --- a/modules/expansion/cve.py +++ b/modules/expansion/cve.py @@ -3,7 +3,7 @@ import requests misperrors = {'error': 'Error'} mispattributes = {'input': ['vulnerability'], 'output': ['']} -moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'An expansion hover module to expand information about CVE id.', 'module-type': 'hover'} +moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'An expansion hover module to expand information about CVE id.', 'module-type': ['hover']} moduleconfig = [] cveapi_url = 'https://cve.circl.lu/api/cve/' diff --git a/modules/expansion/dns.py b/modules/expansion/dns.py index 136b16c..3f37c3f 100755 --- a/modules/expansion/dns.py +++ b/modules/expansion/dns.py @@ -3,7 +3,7 @@ import dns.resolver misperrors = {'error' : 'Error'} mispattributes = {'input': ['hostname', 'domain'], 'output': ['ip-src', 'ip-dst']} -moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'Simple DNS expansion service to resolve IP address from MISP attributes'} +moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'Simple DNS expansion service to resolve IP address from MISP attributes', 'module-type': ['expansion','hover']} def handler(q=False): diff --git a/modules/expansion/passivetotal.py b/modules/expansion/passivetotal.py index 73d2988..e389f81 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'], 'output': ['ip-src', 'ip-dst', 'hostname', 'domain']} -moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'PassiveTotal 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', 'module-type': ['expansion']} moduleconfig = ['username', 'password'] passivetotal_url = 'https://api.passivetotal.org/v2/dns/passive?query=' diff --git a/modules/expansion/sourcecache.py b/modules/expansion/sourcecache.py index 996483f..720964d 100755 --- a/modules/expansion/sourcecache.py +++ b/modules/expansion/sourcecache.py @@ -3,7 +3,7 @@ from url_archiver import url_archiver misperrors = {'error': 'Error'} mispattributes = {'input': ['link', 'url'], 'output': ['attachment', 'malware-sample']} -moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'Module to cache web pages of analysis reports, OSINT sources. The module returns a link of the cached page.'} +moduleinfo = {'version': '0.1', 'author': 'Alexandre Dulaunoy', 'description': 'Module to cache web pages of analysis reports, OSINT sources. The module returns a link of the cached page.', 'module-type': ['expansion']} moduleconfig = ['archivepath']