Hi.

Thank you for your report and find it fixed now [1].

Kind regards,
Miroslav Stampar

[1] https://github.com/sqlmapproject/sqlmap/issues/656


On Sun, Mar 30, 2014 at 9:26 AM, Visual Zhang <ntha...@gmail.com> wrote:

> [15:19:32] [CRITICAL] unhandled exception in sqlmap/1.0-dev-e8c1c90,
> 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-e8c1c90
>
> Python version: 2.7.6
>
> Operating system: posix
>
> Command line: sqlmap.py -r about.txt -p title --dbs --dbms Microsoft SQL
> Server
>
> Technique: TIME
>
> Back-end DBMS: Microsoft SQL Server (fingerprinted)
>
> Traceback (most recent call last):
>
>   File "sqlmap.py", line 95, in main
>
>     start()
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/controller/controller.py",
> line 583, in start
>
>     action()
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/controller/action.py", line
> 106, in action
>
>     conf.dumper.dbs(conf.dbmsHandler.getDbs())
>
>   File "/Users/ihacku/tools/sqlmap-dev/plugins/generic/databases.py",
> line 120, in getDbs
>
>     count = inject.getValue(query, union=False, error=False,
> expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/request/inject.py", line
> 409, in getValue
>
>     value = _goInferenceProxy(query, fromUser, batch, unpack,
> charsetType, firstChar, lastChar, dump)
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/request/inject.py", line
> 278, in _goInferenceProxy
>
>     outputs = _goInferenceFields(expression, expressionFields,
> expressionFieldsList, payload, charsetType=charsetType,
> firstChar=firstChar, lastChar=lastChar, dump=dump)
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/request/inject.py", line
> 126, in _goInferenceFields
>
>     output = _goInference(payload, expressionReplaced, charsetType,
> firstChar, lastChar, dump, field)
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/request/inject.py", line
> 98, in _goInference
>
>     count, value = bisection(payload, expression, length, charsetType,
> firstChar, lastChar, dump)
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/techniques/blind/inference.py",
> line 528, in bisection
>
>     val = getChar(index, asciiTbl)
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/techniques/blind/inference.py",
> line 258, in getChar
>
>     forgedPayload = safeStringFormat(payload, (expressionUnescaped,
> idx, posValue))
>
>   File "/Users/ihacku/tools/sqlmap-dev/lib/core/common.py", line 1501,
> in safeStringFormat
>
>     raise Exception("wrong number of parameters during string formatting")
>
> Exception: wrong number of parameters during string formatting
>
> and here's content of about.txt
>
> POST /about17u/siteinfo/more_wzdt.asp HTTP/1.1
> Content-Length: 75
> Content-Type: application/x-www-form-urlencoded
> X-Requested-With: XMLHttpRequest
> Referer: http://www.17u.net/
> Cookie:
> b2b%5Fcn%5Fmember%5Finfo=iscookiesopen=2014%2D3%2D29+19%3A26%3A52&cityhomepageId=224;
> ASPSESSIONIDSQQDBRRT=DNONHMDDINFHGJHPMGGKAPIB;
> BIGipServerwww-17u-net-pool=2114064556.9475.0000; line=showType=0;
> refid=1365089; BIGipServernetmvc-pool=1426198700.9475.0000;
> HistoryAccessSource=101; ASP.NET_SessionId=w11yjefaeqbmq1dkfmbtwtlz;
>
> historylineId=4642727~%e3%80%90%e6%b8%85%e6%98%8e%e8%8a%82%e3%80%91_%e5%8f%8c%e5%8d%a7%e5%9b%9b%e6%97%a5_%e5%a9%ba%e6%ba%90%e3%80%81%e6%b1%9f%e5%b2%ad%e6%b2%b9%e8%8f%9c%e8%8a%b1%e3%80%81%e6%99%af%e5%be%b7%e9%95%87%e3%80%81%e6%80%a1%e6%83%85%e7%94%b0%e5%9b%ad%e7%ba%af%e7%8e%a9%e6%b8%b8_%e5%8c%97%e4%ba%ac%e5%88%b0%e5%a9%ba%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%8f%8c%e9%a3%9e%e4%ba%94%e6%97%a5%e6%b8%b8;
> ASPSESSIONIDSQRDBQRS=KDBKIDEDPEBEHLHAIACMPAKL;
> NETSEInfo=RefId=1365089&SEFrom=&SEKeyWords=&RefUrl=;
> BIGipServerzuche-rujia365-com-pool=2550245568.20480.0000;
> B2bCnMemberLogStat=; sto-id-lvyou.17u.net_gs=JJAAKIMA;
>
> b2b%5Fcn%5Fmember%5Finfo=cityhomepageId=224&iscookiesopen=2014%2D3%2D29+19%3A41%3A21;
> latestEnquiryPage=1; latestQuotePage=1;
> ASPSESSIONIDQSQDARRS=LHGDJKEDGHACPAEKOBKAHILP;
> ASPSESSIONIDSSTDCTSQ=LJKPJBFDOBHKGEJDFPICJEEP;
> ASPSESSIONIDQQQDARRS=OLBLKIFDAJGDMMBHLDICCCNK
> Host: www.17u.net
> Connection: Keep-alive
> Accept-Encoding: gzip,deflate
> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
> Accept: */*
>
> search=%cb%d1%20%cb%f7&title=1
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sqlmap-users mailing list
> sqlmap-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>



-- 
Miroslav Stampar
http://about.me/stamparm
------------------------------------------------------------------------------
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to