Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception (#fa05dee4) #2184

Closed
sqlmapreporter opened this issue Sep 25, 2016 · 1 comment
Closed

Unhandled exception (#fa05dee4) #2184

sqlmapreporter opened this issue Sep 25, 2016 · 1 comment

Comments

@sqlmapreporter
Copy link

sqlmap version: 1.0.9.21#dev
Python version: 2.7.7
Operating system: nt
Command line: sqlmap.py -r 1.txt -p tbusername -D ****** -T ********** --columns --delay 3
Technique: STACKED
Back-end DBMS: Microsoft SQL Server (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 149, in main
    start()
  File "lib/controller/controller.py", line 633, in start
    action()
  File "lib/controller/action.py", line 112, in action
    conf.dumper.dbTableColumns(conf.dbmsHandler.getColumns(), CONTENT_TYPE.COLUMNS)
  File "plugins/generic/databases.py", line 717, in getColumns
    column = unArrayizeValue(inject.getValue(query, union=False, error=False))
  File "lib/request/inject.py", line 445, in getValue
    value = _goInferenceProxy(query, fromUser, batch, unpack, charsetType, firstChar, lastChar, dump)
  File "lib/request/inject.py", line 285, in _goInferenceProxy
    outputs = _goInferenceFields(expression, expressionFields, expressionFieldsList, payload, charsetType=charsetType, firstChar=firstChar, lastChar=lastChar, dump=dump)
  File "lib/request/inject.py", line 128, in _goInferenceFields
    output = _goInference(payload, expressionReplaced, charsetType, firstChar, lastChar, dump, field)
  File "lib/request/inject.py", line 100, in _goInference
    count, value = bisection(payload, expression, length, charsetType, firstChar, lastChar, dump)
  File "lib/techniques/blind/inference.py", line 579, in bisection
    val = getChar(index, asciiTbl)
  File "lib/techniques/blind/inference.py", line 375, in getChar
    return getChar(idx, originalTbl, continuousOrder, expand, shiftTable, (retried or 0) + 1)
  File "lib/techniques/blind/inference.py", line 375, in getChar
    return getChar(idx, originalTbl, continuousOrder, expand, shiftTable, (retried or 0) + 1)
  File "lib/techniques/blind/inference.py", line 375, in getChar
    return getChar(idx, originalTbl, continuousOrder, expand, shiftTable, (retried or 0) + 1)
  File "lib/techniques/blind/inference.py", line 272, in getChar
    position = charTbl.index(ord('a') - 1)  # 96
AttributeError: 'xrange' object has no attribute 'index'
@stamparm
Copy link
Member

Duplicate of #2175 (fixed). Please update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants