sqlmapproject/sqlmap · error · SqlmapNoneDataException

all provided column name(s) are non-existent

Error message

all provided column name(s) are non-existent

What it means

Outcome guard in pivotDumpTable: none of the caller-supplied column names passed the existence/count check against the pivot query, so no pivot column could be selected and the table cannot be dumped via this technique.

Solutions

  1. Enumerate the real column names first ('--columns')
  2. Correct spelling/case of the requested column list
  3. Verify the table name is correct
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at lib/utils/pivotdumptable.py:120 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of sqlmapproject/sqlmap@0a35b20e39 (2026-08-26). Data as JSON: /api/errors/1fe0dbcfe2488f35. Report an issue: GitHub.

Appendix: source

Thrown at lib/utils/pivotdumptable.py:120

            query = agent.whereQuery(query)
            value = inject.getValue(query, blind=blind, union=not blind, error=not blind, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)

            if isNumPosStrValue(value):
                validColumnList = True

                if value == count:
                    infoMsg = "using column '%s' as a pivot " % column.replace(("%s." % alias) if alias else "", "")
                    infoMsg += "for retrieving row data"
                    logger.info(infoMsg)

                    validPivotValue = True
                    colList.remove(column)
                    colList.insert(0, column)
                    break

        if not validColumnList:
            errMsg = "all provided column name(s) are non-existent"
            raise SqlmapNoneDataException(errMsg)

        if not validPivotValue:
            # No single column holds all-distinct values. Fall back to a COMPOSITE pivot (a
            # concatenation of every column) whose combined value is unique per row, so rows sharing
            # a value in every individual column are no longer silently dropped (ref: #1545).
            _composite = agent.concatQuery(','.join(colList))
            query = dumpNode.count2 % (_composite, table)
            query = agent.whereQuery(query)
            value = inject.getValue(query, blind=blind, union=not blind, error=not blind, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)

            if isNumPosStrValue(value) and int(value) == count:
                infoMsg = "using a concatenation of all columns as a "
                infoMsg += "composite pivot for retrieving row data"
                logger.info(infoMsg)

                compositePivot = _composite
                lengths[compositePivot] = 0
                entries[compositePivot] = BigArray()

View on GitHub (pinned to 0a35b20e39)