oletools icon indicating copy to clipboard operation
oletools copied to clipboard

ftguess: fallback to magika (or others) when file type not identified

Open decalage2 opened this issue 4 months ago • 0 comments

This would be mostly useful for text-based formats, which cannot be easily identified.

https://opensource.googleblog.com/2024/02/magika-ai-powered-fast-and-efficient-file-type-identification.html https://github.com/google/magika

Compared to other solutions, which are mostly magic-based, magika should provide better results for text-based formats such as JavaScript, VBScript, PowerShell, etc.

Other potential solutions:

  • https://github.com/h2non/filetype.py (pure python, no dependencies)
  • https://pypi.org/project/file-magic/
  • https://github.com/cdgriffith/puremagic
  • https://github.com/ahupp/python-magic
  • https://filemagic.readthedocs.io/en/latest/
  • TrID
  • etc

decalage2 avatar Feb 19 '24 10:02 decalage2