[sqlmap-users] SQLMAP bug
Brought to you by:
inquisb
From: Jerzy Y. K. <JY...@65...> - 2013-01-07 17:17:31
|
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' |