Skip to content

Unhandled exception (#88e16221) #1521

@sqlmapreporter

Description

@sqlmapreporter
sqlmap version: 1.0-dev-nongit-20151017
Python version: 2.7.9
Operating system: nt
Command line: sqlmap.py -u **************************************** --data=*********** --sql-shell
Technique: BOOLEAN
Back-end DBMS: Microsoft Access (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 110, in main
    start()
  File "lib/controller/controller.py", line 626, in start
    action()
  File "lib/controller/action.py", line 139, in action
    conf.dbmsHandler.sqlShell()
  File "plugins/generic/custom.py", line 102, in sqlShell
    output = self.sqlQuery(query)
  File "plugins/generic/custom.py", line 48, in sqlQuery
    output = inject.getValue(query, fromUser=True)
  File "lib/request/inject.py", line 429, in getValue
    value = _goInferenceProxy(query, fromUser, batch, unpack, charsetType, firstChar, lastChar, dump)
  File "lib/request/inject.py", line 157, in _goInferenceProxy
    _, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(expression)
  File "lib/core/agent.py", line 526, in getFields
    if re.search("\A\w+\(.*\)", fieldsToCastStr, re.I) or (fieldsSelectCase and "WHEN use" not in query) or fieldsSubstr:
UnboundLocalError: local variable 'fieldsToCastStr' referenced before assignment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions