Skip to content

Unhandled exception (#6ad51ff2) #3613

@sqlmapreporter

Description

@sqlmapreporter
Running version: 1.3.3#stable
Python version: 2.7.6
Operating system: Linux-3.13.0-123-generic-x86_64-with-Ubuntu-14.04-trusty
Command line: sqlmap.py --ignore-proxy --force-ssl --keep-alive --threads=10 -r 1.txt -D ************** --sql-query=*********************************************************************************************************************************************************************************************
Technique: STACKED
Back-end DBMS: Microsoft SQL Server (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 167, in main
    start()
  File "lib/core/decorators.py", line 53, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 666, in start
    action()
  File "lib/controller/action.py", line 180, in action
    conf.dumper.query(conf.query, conf.dbmsHandler.sqlQuery(conf.query))
  File "plugins/generic/custom.py", line 52, in sqlQuery
    output = inject.getValue(query, fromUser=True)
  File "lib/core/decorators.py", line 53, in _
    result = f(*args, **kwargs)
  File "lib/request/inject.py", line 461, in getValue
    value = _goInferenceProxy(query, fromUser, batch, unpack, charsetType, firstChar, lastChar, dump)
  File "lib/request/inject.py", line 274, in _goInferenceProxy
    output = _goInferenceFields(expression, expressionFields, expressionFieldsList, payload, num=num, charsetType=charsetType, firstChar=firstChar, lastChar=lastChar, dump=dump)
  File "lib/request/inject.py", line 130, in _goInferenceFields
    expression = agent.limitQuery(num, expression, field, expressionFieldsList[0])
  File "lib/core/agent.py", line 981, in limitQuery
    topNum = re.search(r"TOP\s+([\d]+)\s+", limitedQuery, re.I).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions