TheHive-Project / TheHive-Project/Cortex-Analyzers

[Bug] EMLParser fails with Unexpected error: File 5.41 supports only version 16 magic files

Open
#1,197 3 comments 0 reactions 1 assignee View on GitHub

@jeromeleonard is already working on this.

Since Aug 28, 2023.

Dominant language
Python
Stars
490
Forks
405
Avg merge
2d 43m
Merged PRs (30d)
8

Description

Installed Cortex on new Ubuntu 22.04 instance with all latest updates added.

Everything seems to be working except EmlParser.

When run, I get the following error:

Unexpected Error: b"File 5.41 supports only version 16 magic files. `/usr/local/lib/python3.10/dist-packages/magic/libmagic/magic.mgc' is version 14"

I have looked all over to see how I can recompile the magic.mgc db but can't find how that is done (maybe my google foo is lacking here).

Anyone got any ideas on how I can get this working?

Many thanks in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.