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

Unhandled exception #532

Closed
amasolini opened this issue Sep 29, 2013 · 0 comments
Closed

Unhandled exception #532

amasolini opened this issue Sep 29, 2013 · 0 comments
Assignees
Milestone

Comments

@amasolini
Copy link

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!

stamparm added a commit that referenced this issue Sep 30, 2013
@ghost ghost assigned stamparm Sep 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants