mirror of https://github.com/MISP/MISP-maltego
minor cleanups
parent
c40e776462
commit
6a0a819aad
|
@ -2,3 +2,4 @@
|
||||||
python3 setup.py sdist bdist_wheel
|
python3 setup.py sdist bdist_wheel
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
rm -Rf build
|
rm -Rf build
|
||||||
|
rm -Rf dist
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -5,11 +5,11 @@ from setuptools import setup, find_packages
|
||||||
setup(
|
setup(
|
||||||
name='MISP_maltego',
|
name='MISP_maltego',
|
||||||
author='Christophe Vandeplas',
|
author='Christophe Vandeplas',
|
||||||
version='1.3.2',
|
version='1.3.4',
|
||||||
author_email='christophe@vandeplas.com',
|
author_email='christophe@vandeplas.com',
|
||||||
maintainer='Christophe Vandeplas',
|
maintainer='Christophe Vandeplas',
|
||||||
url='https://github.com/MISP/MISP-maltego',
|
url='https://github.com/MISP/MISP-maltego',
|
||||||
description='Maltego transform for interacting with a MISP Threat Sharing community.',
|
description='Maltego transform for interacting with a MISP Threat Sharing community and with MITRE ATT&CK.',
|
||||||
license='AGPLv3',
|
license='AGPLv3',
|
||||||
packages=find_packages('src'),
|
packages=find_packages('src'),
|
||||||
package_dir={'': 'src'},
|
package_dir={'': 'src'},
|
||||||
|
|
|
@ -6,5 +6,3 @@ misp_verify = True
|
||||||
misp_debug = False
|
misp_debug = False
|
||||||
|
|
||||||
[MISP_maltego.remote]
|
[MISP_maltego.remote]
|
||||||
|
|
||||||
# TODO: put remote transform options here
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import os.path
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# FIXME from galaxy to MISP Event is confusing
|
# FIXME from galaxy 'to MISP Event' is confusing
|
||||||
|
|
||||||
# mapping_maltego_to_misp = {
|
# mapping_maltego_to_misp = {
|
||||||
# 'maltego.Hash': ['md5', 'sha1', 'sha256', 'sha224', 'sha384', 'sha512', 'sha512/224', 'sha512/256'],
|
# 'maltego.Hash': ['md5', 'sha1', 'sha256', 'sha224', 'sha384', 'sha512', 'sha512/224', 'sha512/256'],
|
||||||
|
|
|
@ -16,6 +16,8 @@ __maintainer__ = 'Christophe Vandeplas'
|
||||||
__email__ = 'christophe@vandeplas.com'
|
__email__ = 'christophe@vandeplas.com'
|
||||||
__status__ = 'Development'
|
__status__ = 'Development'
|
||||||
|
|
||||||
|
# FIXME have a more human readable version of the MISP event value in the graph. change entity + event_to_entity + do_transform
|
||||||
|
|
||||||
|
|
||||||
class EventToTransform(Transform):
|
class EventToTransform(Transform):
|
||||||
input_type = None
|
input_type = None
|
||||||
|
|
|
@ -16,6 +16,16 @@ __email__ = 'christophe@vandeplas.com'
|
||||||
__status__ = 'Development'
|
__status__ = 'Development'
|
||||||
|
|
||||||
|
|
||||||
|
class GalaxyTo(Transform):
|
||||||
|
input_type = None
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.request = None
|
||||||
|
self.response = None
|
||||||
|
self.config = None
|
||||||
|
self.misp = None
|
||||||
|
|
||||||
|
|
||||||
# @EnableDebugWindow
|
# @EnableDebugWindow
|
||||||
class GalaxyToEvents(Transform):
|
class GalaxyToEvents(Transform):
|
||||||
"""Expands a Galaxy to multiple MISP Events."""
|
"""Expands a Galaxy to multiple MISP Events."""
|
||||||
|
|
Loading…
Reference in New Issue