Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unhandled exception (#529de8f2) #3784

Copy link
Copy link
@sqlmapreporter

Description

@sqlmapreporter
Issue body actions
Running version: 1.3.6.58#dev
Python version: 3.7.3
Operating system: Windows-10-10.0.17134-SP0
Command line: sqlmap.py -u ************************************************* --dbs
Technique: QUERY
Back-end DBMS: Microsoft SQL Server (identified)
Traceback (most recent call last):
  File "sqlmap.py", line 180, in main
    start()
  File "lib/core/decorators.py", line 71, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 571, in start
    injection = checkSqlInjection(place, parameter, value)
  File "lib/controller/checks.py", line 858, in checkSqlInjection
    checkSuhosinPatch(injection)
  File "lib/core/decorators.py", line 71, in _
    result = f(*args, **kwargs)
  File "lib/controller/checks.py", line 977, in checkSuhosinPatch
    if not checkBooleanExpression("%d=%s%d" % (randInt, ' ' * SUHOSIN_MAX_VALUE_LENGTH, randInt)):
  File "lib/request/inject.py", line 527, in checkBooleanExpression
    return getValue(expression, expected=EXPECTED.BOOL, charsetType=CHARSET_TYPE.BINARY, suppressOutput=True, expectingNone=expectingNone)
  File "lib/core/decorators.py", line 71, in _
    result = f(*args, **kwargs)
  File "lib/request/inject.py", line 437, in getValue
    value = errorUse(forgeCaseExpression if expected == EXPECTED.BOOL else query, dump)
  File "lib/techniques/error/use.py", line 453, in errorUse
    value = _errorFields(expression, expressionFields, expressionFieldsList)
  File "lib/techniques/error/use.py", line 246, in _errorFields
    output = NULL if emptyFields and field in emptyFields else _oneShotErrorUse(expressionReplaced, field)
  File "lib/techniques/error/use.py", line 127, in _oneShotErrorUse
    vector = kb.injection.data[PAYLOAD.TECHNIQUE.ERROR].vector
KeyError: 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.