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
Use system magic python library where available (e.g. Debian/Ubuntu) #2933
Conversation
Just tried on regular Ubuntu 16.04.3. System |
@stamparm python-magic exists only in ubuntu development release and debian testing, not available on xenial |
@LocutusOfBorg I believe that you've mixed something up. |
Sorry, I should have been more verbose, sorry for that. In artful, xenial and before, (so, up to the current stable Ubuntu and Debian release, python-magic was provided by src:file. Now, since Buster, and Bionic (aka next Debian stable, and next Ubuntu LTS, out in some months), python-magic from src:file has been dropped, and now the python-magic is provided by the pypi module there is even a compat module patch, that makes it compatible with the xenial version, but compatible too with the features requested by sqlmap. At the end, what about trying to import the API you need and fallback to the thirdparty version if you get an AttributeError? BTW almost all linux distro have switched to the new library (the one you are embedding), this isn't now a Debian only issue, see e.g. |
I'm preparing a backport of the new library for xenial, if you want to test it out |
Checked once more and this is my last reply to this Issue request (though, there was no Issue in the first place). I know that you have/had best intentions but changing of There is a good reason to have Along with problems I've stated earlier, there is also a problem with Anyway, tell those guys that if they have a problem to come to me. p.s. The very reason to prove my point (to have
-> and now he is trying to force his own TRUE version for a simple wrapper. Case closed |
No description provided.