Re: [sqlmap-users] error with unicode data
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2011-05-15 21:41:32
|
hi Devon. could you please try to update to the latest revision and report back? i believe i've found the faulty part. kr On Sun, May 15, 2011 at 10:53 PM, Devon Mitchell <dev...@ya...> wrote: > I've been having a lot of these recently: > 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 > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > -- Miroslav Stampar E-mail: miroslav.stampar (at) gmail.com PGP Key ID: 0xB5397B1B |