Skip to content
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

How to use external magic db? #71

Open
AcidS76 opened this issue Apr 12, 2020 · 1 comment
Open

How to use external magic db? #71

AcidS76 opened this issue Apr 12, 2020 · 1 comment

Comments

@AcidS76
Copy link

AcidS76 commented Apr 12, 2020

Hi,
I'm use this lib since some months and it's very useful but the problem I see it's the update of its magic db. I tried to use the files from https://github.com/file/file/tree/master/magic/Magdir, as reported in a issue from @stokito, concatenating all the files in a big txt file. But for some strange reason, the resulting db seems not letting correctly detect zip format, giving me "(0x%x)" as value when I call the method "getName()", while it's correct "zip" with the buil-in db. Does anyone else have the same problem or does know a way to load an updated version of magic db?
Thanks

@stokito
Copy link

stokito commented Apr 13, 2020

Carlo mentioned the issue #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants