You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ran sudo both pip3 install -r requirements.txt and sudo pip install -r requirements.txt
Restarted Cortex service
The analyzer always fails with:
Invalid output
You are using python-magic, though this module requires file-magic. Disabling magic usage due to incompatibilities.
Traceback (most recent call last):
File "EmlParser/parse.py", line 11, in
import iocextract
ModuleNotFoundError: No module named 'iocextract'
To Reproduce
Steps to reproduce the behavior:
Run the EmlParser_1_2 analyzer from Cortex selecting a valid .eml file
Expected behavior
Analyzer parses the .eml file and gives the result.
Complementary information
If applicable, add screenshots and any additional information that might help explain your problem.
Work environment
thehive-training-3.3.1 training virtual machine
Browse type and version: FireFox 81.0 64-bit
Cortex version: 2.1.3-1
Cortex Analyzer/Responder name: EmlParser
Cortex Analyzer/Responder version: 1.2
Possible solutions
If applicable, indicate possible solutions to the problem.
Additional context
Confirmed this module is installed:
thehive@thehive-training:/opt/Cortex-Analyzers/analyzers/EmlParser$ pip3 list | grep iocextract
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. iocextract (1.13.1)
thehive@thehive-training:/opt/Cortex-Analyzers/analyzers/EmlParser$ pip list | grep iocextract
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support iocextract 1.13.1
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
https://github.com/TheHive-Project/Cortex-Analyzers/tree/master/analyzers/EmlParser
The analyzer always fails with:
Invalid output
You are using python-magic, though this module requires file-magic. Disabling magic usage due to incompatibilities.
Traceback (most recent call last):
File "EmlParser/parse.py", line 11, in
import iocextract
ModuleNotFoundError: No module named 'iocextract'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Analyzer parses the .eml file and gives the result.
Complementary information
If applicable, add screenshots and any additional information that might help explain your problem.
Work environment
thehive-training-3.3.1 training virtual machine
Possible solutions
If applicable, indicate possible solutions to the problem.
Additional context
Confirmed this module is installed:
thehive@thehive-training:/opt/Cortex-Analyzers/analyzers/EmlParser$ pip3 list | grep iocextract
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
iocextract (1.13.1)
thehive@thehive-training:/opt/Cortex-Analyzers/analyzers/EmlParser$ pip list | grep iocextract
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
iocextract 1.13.1
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
The text was updated successfully, but these errors were encountered: