Hi Yuri,

I noticed this too[1] few minutes ago.
We're working on a fix as I type.

[1] https://github.com/sqlmapproject/sqlmap/issues/305#issuecomment-11960592

Bernardo


On 7 January 2013 16:50, Jerzy Yuri Kramarz <j...@65535.com> wrote:
> Hi Guys,
>
> Great tool but for the first time ever I've managed to see the following
> error when testing oracle DB:
>
> sqlmap version: 1.0-dev-74552be
> Python version: 2.6.6
> Operating system: posix
> Command line: ./sqlmap.py
> *****************************************************************
> --cookie=*********************************************************************
> --dbms=oracle --level=5 --risk=5 --force-ssl --thread=1 --technique=T -p
> param --sql-query=SELECT UTL_INADDR.get_host_name FROM dual;
> Technique: TIME
> Back-end DBMS: Oracle (fingerprinted)
> Traceback (most recent call last):
>   File "/opt/sqlmap-dev/_sqlmap.py", line 73, in main
>     start()
>   File "/opt/sqlmap-dev/lib/controller/controller.py", line 567, in start
>     action()
>   File "/opt/sqlmap-dev/lib/controller/action.py", line 135, in action
>     conf.dumper.query(conf.query, conf.dbmsHandler.sqlQuery(conf.query))
>   File "/opt/sqlmap-dev/plugins/generic/custom.py", line 46, in sqlQuery
>     output = inject.getValue(query, fromUser=True)
>   File "/opt/sqlmap-dev/lib/request/inject.py", line 390, in getValue
>     value = _goInferenceProxy(query, fromUser, batch, unpack,
> charsetType, firstChar, lastChar, dump)
>   File "/opt/sqlmap-dev/lib/request/inject.py", line 269, in
> _goInferenceProxy
>     outputs = _goInferenceFields(expression, expressionFields,
> expressionFieldsList, payload, charsetType=charsetType,
> firstChar=firstChar, lastChar=lastChar, dump=dump)
>   File "/opt/sqlmap-dev/lib/request/inject.py", line 117, in
> _goInferenceFields
>     output = _goInference(payload, expressionReplaced, charsetType,
> firstChar, lastChar, dump, field)
>   File "/opt/sqlmap-dev/lib/request/inject.py", line 89, in _goInference
>     count, value = bisection(payload, expression, length, charsetType,
> firstChar, lastChar, dump)
>   File "/opt/sqlmap-dev/lib/techniques/blind/inference.py", line 120, in
> bisection
>     length = min(length, lastChar or length) - firstChar
> TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> sqlmap-users mailing list
> sqlmap-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlmap-users



-- 
Bernardo Damele A. G.

E-mail / Jabber: bernardo.damele (at) gmail.com
Mobile: +447788962949 (UK 07788962949)

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to