sqlmapproject/sqlmap · error · SqlmapNoneDataException
Empty value supplied
Error message
Empty value supplied
What it means
In sqlmap's --string interactive flow, checkStability prompts the user to enter the value of the 'string' parameter; an empty input is rejected with this SqlmapValueException. It is a user-input validation guard — sqlmap needs a non-empty needle to search responses for.
Solutions
- Re-run and provide a non-empty string value when prompted.
- Use the --string option directly to supply the value non-interactively.
- Pick a substring that genuinely distinguishes the true response from the false one.
- Abort the interactive selection (choose 'q') instead of entering an empty value.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at lib/controller/checks.py:1522 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/1a0a9f54f5768687.
Report an issue: GitHub.
Appendix: source
Thrown at lib/controller/checks.py:1522
elif choice == 'S':
showStaticWords(firstPage, secondPage)
message = "please enter value for parameter 'string': "
string = readInput(message)
if string:
conf.string = string
if kb.nullConnection:
debugMsg = "turning off NULL connection "
debugMsg += "support because of string checking"
logger.debug(debugMsg)
kb.nullConnection = None
else:
errMsg = "Empty value supplied"
raise SqlmapNoneDataException(errMsg)
elif choice == 'R':
message = "please enter value for parameter 'regex': "
regex = readInput(message)
if regex:
conf.regex = regex
if kb.nullConnection:
debugMsg = "turning off NULL connection "
debugMsg += "support because of regex checking"
logger.debug(debugMsg)
kb.nullConnection = None
else:
errMsg = "Empty value supplied"
raise SqlmapNoneDataException(errMsg)
View on GitHub (pinned to 0a35b20e39)