hi.

"Also, a lot of arabic data is coming down as ?????? instead of the
Unicode data"
-this can be a problem caused by either:
A) wrong (non-standard) charset used by the web page
B) different charsets for the page (e.g. some arabic) and the database
connector (e.g. latin1) (most often this is the main cause)
C) inability of the console used to display proper characters
D) something else, maybe related to that last commit

kr

On Sun, May 15, 2011 at 10:55 PM, Devon Mitchell
<devon.mitchell1...@yahoo.com> wrote:
> Here's another example.  Also, a lot of arabic data is coming down as ??????
> instead of the Unicode data.  Some works, some doesn't.  At any rate, here
> is the debug data:
> sqlmap version: 1.0-dev (r3893)
> Python version: 2.7.1+
> Operating system: posix
> Command line: ./sqlmap.py -u ********************************** -D *********
> -T **** --dump
> Technique: UNION
> Back-end DBMS: MySQL (fingerprinted)
> Traceback (most recent call last):
>   File "./sqlmap.py", line 83, in main
>     start()
>   File "/opt/sqlmap-dev/lib/controller/controller.py", line 485, in start
>     action()
>   File "/opt/sqlmap-dev/lib/controller/action.py", line 109, in action
>     conf.dbmsHandler.dumpTable()
>   File "/opt/sqlmap-dev/plugins/generic/enumeration.py", line 1508, in
> dumpTable
>     entries = inject.getValue(query, blind=False, dump=True)
>   File "/opt/sqlmap-dev/lib/request/inject.py", line 432, in getValue
>     value = __goInband(query, expected, sort, resumeValue, unpack, dump)
>   File "/opt/sqlmap-dev/lib/request/inject.py", line 384, in __goInband
>     output = unionUse(expression, unpack=unpack, dump=dump)
>   File "/opt/sqlmap-dev/lib/techniques/inband/union/use.py", line 266, in
> unionUse
>     output = __oneShotUnionUse(limitedExpr, unpack)
>   File "/opt/sqlmap-dev/lib/techniques/inband/union/use.py", line 65, in
> __oneShotUnionUse
>     page, headers = Request.queryPage(payload, content=True, raise404=False)
>   File "/opt/sqlmap-dev/lib/request/connect.py", line 575, in queryPage
>     page, headers = Connect.getPage(url=uri, get=get, post=post,
> cookie=cookie, ua=ua, referer=referer, silent=silent, method=method,
> auxHeaders=auxHeaders, response=response, raise404=raise404,
> ignoreTimeout=timeBasedCompare)
>   File "/opt/sqlmap-dev/lib/request/connect.py", line 282, in getPage
>     page = decodePage(page,
> responseHeaders.get(HTTPHEADER.CONTENT_ENCODING),
> responseHeaders.get(HTTPHEADER.CONTENT_TYPE))
>   File "/opt/sqlmap-dev/lib/request/basic.py", line 189, in decodePage
>     page = getUnicode(page, kb.pageEncoding)
>   File "/opt/sqlmap-dev/lib/core/common.py", line 1801, in getUnicode
>     return unicode(value, encoding or UNICODE_ENCODING,
> errors="xmlcharrefreplace")
> TypeError: don't know how to handle UnicodeDecodeError in error callback
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> sqlmap-users mailing list
> sqlmap-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>
>



-- 
Miroslav Stampar

E-mail: miroslav.stampar (at) gmail.com
PGP Key ID: 0xB5397B1B

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to