-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eml_parser Unexpected Error: list index out of range #352
Comments
Does it fail with one and only eml ? |
I guess i'm not sure what you mean? I've only tried to add one file at a time in .eml format to the analyzer and always same results.
|
Sorry for the misunderstanding. Did you try with other eml file or only with testmessage.eml ? |
No worries! I've tried it with probably 10 different messages |
@ninSmith I can confirm I am having the same issue with multiple .eml files. |
Unfortunately I can't reproduce the bug. Thanks, |
@ninSmith Same issue here. It is not every eml but several .eml's that have the same structure. |
I think I've solved the issue, could you try it and confirm me: https://github.com/TheHive-Project/Cortex-Analyzers/tree/hotfix/EmlParser/analyzers/EmlParser I'm scared that the fix works only with the eml you provided me so feel free to try several samples |
@ninSmith This worked for me. I tried multiple eml files and they seem to run as expected. It does look like the ones with issues had html in the body... |
So what I've found is that when parsed, the eml doesn't have any body. Good then I'll add this for the next release. |
Request Type
Bug
Description
eml_parser Unexpected Error: list index out of range
I'm using eml_parser with TheHive project and all analysis fails with
Unexpected Error: list index out of range
I'm not sure where else to find any other logging or info to troubleshoot this. I think there may be an issue with the different versions EmlParser & eml_parser.
The text was updated successfully, but these errors were encountered: