Re: [sqlmap-users] 0.9-dev (r3127) - UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in po
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2011-01-30 07:39:13
|
After all it seems that this is a little bit more complex issue (proper encoding of program input parameters). Will research later today. KR On Sun, Jan 30, 2011 at 12:00 AM, Miroslav Stampar <mir...@gm...> wrote: > Hi. > > From the commit r3128 as the default encoding for supplied arguments > system one is used. Failsafe is now UTF8. > > Before, other way around was used. > > KR > > p.s. now those "strange" characters should be acceptable out of box > > On Sat, Jan 29, 2011 at 11:22 PM, Miroslav Stampar > <mir...@gm...> wrote: >> Hi. >> >> I guess you've tried to use non-utf8 data with --data switch? I can >> make a "quick" patch, but in that case some of data could be >> "stripped". >> >> Feel free to contact me privately with used parameters. >> >> KR >> >> 2011/1/29 Kazım Buğra Tombul <mha...@gm...>: >>> Since this is a content specific bug I can send the execution parameters in >>> private if needed. >>> [22:24:31] [CRITICAL] unhandled exception in sqlmap/0.9-dev, retry your run >>> with the latest development version from the Subversion repository. If the >>> exception persists, please send by e-mail to >>> sql...@li... the command line, the following text and >>> any information needed to reproduce the bug. The developers will try to >>> reproduce the bug, fix it accordingly and get back to you. >>> sqlmap version: 0.9-dev (r3127) >>> Python version: 2.5.4 >>> Operating system: posix >>> Technique: None >>> Back-end DBMS: None >>> Traceback (most recent call last): >>> File "/Users/my_user_name/sqlmap-dev/sqlmap.py", line 83, in main >>> start() >>> File "/Users/my_user_name/sqlmap-dev/lib/controller/controller.py", line >>> 250, in start >>> if not checkConnection(suppressOutput=conf.forms) or not checkString() >>> or not checkRegexp(): >>> File "/Users/my_user_name/sqlmap-dev/lib/controller/checks.py", line 783, >>> in checkConnection >>> page, _ = Request.queryPage(content=True) >>> File "/Users/my_user_name/sqlmap-dev/lib/request/connect.py", line 415, in >>> queryPage >>> post = urlencode(conf.parameters[PLACE.POST] if place != PLACE.POST or >>> not value else value) >>> File "/Users/my_user_name/sqlmap-dev/lib/core/convert.py", line 85, in >>> urlencode >>> result = urllib.quote(utf8encode(value), safe) >>> File "/Users/my_user_name/sqlmap-dev/lib/core/convert.py", line 90, in >>> utf8encode >>> return value.encode("utf-8") >>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4233: >>> ordinal not in range(128) >>> [*] shutting down at: 22:24:31 >>> >>> >>> Kazım Buğra Tombul >>> >>> Senior @ Metu Computer Engineering >>> Software Developer @ Speeddate.com, Inc. >>> System Administrator @ Metu Computer Club >>> Supervisory Board Member @ Metu Computer Club >>> >>> >>> ------------------------------------------------------------------------------ >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> _______________________________________________ >>> sqlmap-users mailing list >>> sql...@li... >>> https://lists.sourceforge.net/lists/listinfo/sqlmap-users >>> >>> >> >> >> >> -- >> Miroslav Stampar >> >> E-mail / Jabber: miroslav.stampar (at) gmail.com >> Mobile: +385921010204 (HR 0921010204) >> PGP Key ID: 0xB5397B1B >> Location: Zagreb, Croatia >> > > > > -- > Miroslav Stampar > > E-mail / Jabber: miroslav.stampar (at) gmail.com > Mobile: +385921010204 (HR 0921010204) > PGP Key ID: 0xB5397B1B > Location: Zagreb, Croatia > -- Miroslav Stampar E-mail / Jabber: miroslav.stampar (at) gmail.com Mobile: +385921010204 (HR 0921010204) PGP Key ID: 0xB5397B1B Location: Zagreb, Croatia |