Hey guys. I'm runing sqlmap for the first time in a clean Archlinux installation, and i'm getting exceptions related to Magic files not loeaded.
This is the error itself:
[12:56:00] [CRITICAL] unhandled exception in sqlmap/1.0-dev-1f2e5a9, retry your run with the latest development version from the GitHub repository. If the exception persists, please send by e-mail to 'sqlmap-users@lists.sourceforge.net' or open a new issue at 'https://github.com/sqlmapproject/sqlmap/issues/new' with the following text and any information required to reproduce the bug. The developers will try to reproduce the bug, fix it accordingly and get back to you.
sqlmap version: 1.0-dev-1f2e5a9
Python version: 2.7.5
Operating system: posix
Command line: ./sqlmap.py -u ************************************************ --level=5 --data=tbUsername= --dbms=Microsoft SQL Server -D *** --dump-all --hex
Technique: ERROR
Back-end DBMS: Microsoft SQL Server (fingerprinted)
Traceback (most recent call last):
File "./sqlmap.py", line 95, in main
start()
File "/home/amasolini/tools/sqlmap/lib/controller/controller.py", line 582, in start
action()
File "/home/amasolini/tools/sqlmap/lib/controller/action.py", line 130, in action
conf.dbmsHandler.dumpAll()
File "/home/amasolini/tools/sqlmap/plugins/generic/entries.py", line 335, in dumpAll
self.dumpTable()
File "/home/amasolini/tools/sqlmap/plugins/generic/entries.py", line 323, in dumpTable
conf.dumper.dbTableValues(kb.data.dumpedTable)
File "/home/amasolini/tools/sqlmap/lib/core/dump.py", line 528, in dbTableValues
mimetype = magic.from_buffer(value, mime=True)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 98, in from_buffer
m = _get_magic_type(mime)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 89, in _get_magic_type
return _get_magic_mime()
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 78, in _get_magic_mime
_magic_mime = Magic(mime=True)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 45, in init
magic_load(self.cookie, magic_file)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 185, in magic_load
return _magic_load(cookie, coerce_filename(filename))
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 137, in errorcheck
raise MagicException(err)
MagicException: no magic files loaded
Any hints on how to get this fixed?
Thanks!
Hey guys. I'm runing sqlmap for the first time in a clean Archlinux installation, and i'm getting exceptions related to Magic files not loeaded.
This is the error itself:
[12:56:00] [CRITICAL] unhandled exception in sqlmap/1.0-dev-1f2e5a9, retry your run with the latest development version from the GitHub repository. If the exception persists, please send by e-mail to 'sqlmap-users@lists.sourceforge.net' or open a new issue at 'https://github.com/sqlmapproject/sqlmap/issues/new' with the following text and any information required to reproduce the bug. The developers will try to reproduce the bug, fix it accordingly and get back to you.
sqlmap version: 1.0-dev-1f2e5a9
Python version: 2.7.5
Operating system: posix
Command line: ./sqlmap.py -u ************************************************ --level=5 --data=tbUsername= --dbms=Microsoft SQL Server -D *** --dump-all --hex
Technique: ERROR
Back-end DBMS: Microsoft SQL Server (fingerprinted)
Traceback (most recent call last):
File "./sqlmap.py", line 95, in main
start()
File "/home/amasolini/tools/sqlmap/lib/controller/controller.py", line 582, in start
action()
File "/home/amasolini/tools/sqlmap/lib/controller/action.py", line 130, in action
conf.dbmsHandler.dumpAll()
File "/home/amasolini/tools/sqlmap/plugins/generic/entries.py", line 335, in dumpAll
self.dumpTable()
File "/home/amasolini/tools/sqlmap/plugins/generic/entries.py", line 323, in dumpTable
conf.dumper.dbTableValues(kb.data.dumpedTable)
File "/home/amasolini/tools/sqlmap/lib/core/dump.py", line 528, in dbTableValues
mimetype = magic.from_buffer(value, mime=True)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 98, in from_buffer
m = _get_magic_type(mime)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 89, in _get_magic_type
return _get_magic_mime()
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 78, in _get_magic_mime
_magic_mime = Magic(mime=True)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 45, in init
magic_load(self.cookie, magic_file)
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 185, in magic_load
return _magic_load(cookie, coerce_filename(filename))
File "/home/amasolini/tools/sqlmap/thirdparty/magic/magic.py", line 137, in errorcheck
raise MagicException(err)
MagicException: no magic files loaded
Any hints on how to get this fixed?
Thanks!