hi itxx.

thank you for your report and find it fixed in the latest commit.

kr

2011/5/14 星星 <i...@qq.com>:
> sqlmap version: 1.0-dev (r3891)
> Python version: 2.6.5
> Operating system: posix
> Command line: ./sqlmap.py -l /root/google
> Technique: None
> Back-end DBMS: PostgreSQL (fingerprinted)
> Traceback (most recent call last):
>   File "./sqlmap.py", line 83, in main
>     start()
>   File "/pentest/web/scanners/sqlmap/lib/controller/controller.py", line
> 283, in start
>     if not checkConnection(suppressOutput=conf.forms) or not checkString()
> or not checkRegexp():
>   File "/pentest/web/scanners/sqlmap/lib/controller/checks.py", line 861, in
> checkConnection
>     page, _ = Request.queryPage(content=True, noteResponseTime=False)
>   File "/pentest/web/scanners/sqlmap/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 "/pentest/web/scanners/sqlmap/lib/request/connect.py", line 195, in
> getPage
>     headers[unicodeencode(key, kb.pageEncoding)] = unicodeencode(item,
> kb.pageEncoding)
>   File "/pentest/web/scanners/sqlmap/lib/core/convert.py", line 140, in
> unicodeencode
>     retVal = value.encode(UNICODE_ENCODING, errors="replace")
> TypeError: encode() takes no keyword arguments
>
> [*] shutting down at: 22:59:55
>
>
> ------------------------------------------------------------------------------
> 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