Hi David.
Thank you for your report. This (important) bug should be fixed with the
latest r4833.
Kind regards,
Miroslav Stampar
On Wed, Mar 7, 2012 at 8:16 PM, David Guimaraes <skys...@gmail.com> wrote:
> Hi, I have found a bug:
>
> [16:18:00] [CRITICAL] unhandled exception in sqlmap/1.0-dev (r4829), retry
> your run with the latest development version from the Subversion
> repository. If the exception persists, please send by e-mail to
> sqlmap-users@lists.sourceforge.net 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 (r4829)
> Python version: 2.6.5
> Operating system: posix
> Command line: ./sqlmap.py --random-agent -u
> *****************************************************************************
> -p codigo_xxx -v 3 --tamper tamper/space2comment.py --string xxx --batch
> --current-user --current-db --privileges
> Technique: ERROR
> Back-end DBMS: Microsoft SQL Server (fingerprinted)
> Traceback (most recent call last):
> File "/pentest/database/sqlmap/_sqlmap.py", line 82, in main
> start()
> File "/pentest/database/sqlmap/lib/controller/controller.py", line 573,
> in start
> action()
> File "/pentest/database/sqlmap/lib/controller/action.py", line 81, in
> action
> conf.dbmsHandler.getPrivileges(), "privilege")
> File "/pentest/database/sqlmap/plugins/dbms/mssqlserver/enumeration.py",
> line 49, in getPrivileges
> users = self.getUsers()
> File "/pentest/database/sqlmap/plugins/generic/enumeration.py", line
> 180, in getUsers
> value = inject.getValue(query, blind=False)
> File "/pentest/database/sqlmap/lib/request/inject.py", line 408, in
> getValue
> value = __goError(query, expected, dump)
> File "/pentest/database/sqlmap/lib/request/inject.py", line 334, in
> __goError
> output = errorUse(expression, expected, dump)
> File "/pentest/database/sqlmap/lib/techniques/error/use.py", line 354,
> in errorUse
> runThreads(numThreads, errorThread)
> File "/pentest/database/sqlmap/lib/core/threads.py", line 197, in
> runThreads
> conf.hashDB.flush(True)
> File "/pentest/database/sqlmap/lib/utils/hashdb.py", line 101, in flush
> self.cursor.execute("INSERT INTO storage VALUES (?, ?)", (hash_,
> value,))
> ProgrammingError: You must not use 8-bit bytestrings unless you use a
> text_factory that can interpret 8-bit bytestrings (like text_factory =
> str). It is highly recommended that you instead just switch your
> application to Unicode strings.
>
> [*] shutting down at 16:18:00
>
>
> Best Regards,
>
> David
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> sqlmap-users mailing list
> sqlmap-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>
>
--
Miroslav Stampar
http://about.me/stamparm
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users