Skip to content

Unhandled exception (#b3d962f4) #4933

@sqlmapreporter

Description

@sqlmapreporter
Running version: 1.5.12.3#dev
Python version: 3.8.0
Operating system: Windows-10-10.0.19041-SP0
Command line: sqlmap.py -u ********************************************** --level 3 --random-agent -D ***** -T ***************** --dump --batch
Technique: UNION
Back-end DBMS: MySQL (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 214, in main
    start()
  File "lib/core/decorators.py", line 80, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 701, in start
    action()
  File "lib/controller/action.py", line 163, in action
    conf.dbmsHandler.dumpTable()
  File "plugins/generic/entries.py", line 251, in dumpTable
    entries = inject.getValue(query, blind=False, time=False, dump=True)
  File "lib/core/decorators.py", line 96, in _
    result = f(*args, **kwargs)
  File "lib/core/decorators.py", line 80, in _
    result = f(*args, **kwargs)
  File "lib/request/inject.py", line 423, in getValue
    value = _goUnion(forgeCaseExpression if expected == EXPECTED.BOOL else query, unpack, dump)
  File "lib/request/inject.py", line 352, in _goUnion
    output = unionUse(expression, unpack=unpack, dump=dump)
  File "lib/techniques/union/use.py", line 269, in unionUse
    output = _oneShotUnionUse(query, False)
  File "lib/techniques/union/use.py", line 135, in _oneShotUnionUse
    if retVal:
UnboundLocalError: local variable 'retVal' referenced before assignment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions