sqlmapproject/sqlmap · error · NotSupportedError
no supported MonetDB password hash in
Error message
no supported MonetDB password hash in: %s
What it means
None of the comma-separated hash algorithms the server listed for the final password challenge is available in hashlib, so no valid pwhash response can be constructed — client and server share no common digest.
Solutions
- Enable at least one common algorithm (e.g. SHA256/SHA1) in the server's monetdbd/vault settings
- Upgrade the Python runtime so hashlib registers one of the offered algorithms
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at extra/dbwire/monetdb.py:88 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/c43468a467a003d3.
Report an issue: GitHub.
Appendix: source
Thrown at extra/dbwire/monetdb.py:88
if server_type == "merovingian": # proxy stage: authenticate as merovingian, real creds go to the mserver
user, password = "merovingian", ""
pwalgo = parts[5]
try:
password = hashlib.new(pwalgo, password.encode("utf-8")).hexdigest()
except ValueError:
raise NotSupportedError("unsupported MonetDB password algorithm: %s" % pwalgo)
pwhash = None
for algo in hashes.split(","):
try:
h = hashlib.new(algo)
except ValueError:
continue
h.update(password.encode("utf-8"))
h.update(salt.encode("utf-8"))
pwhash = "{%s}%s" % (algo, h.hexdigest())
break
if pwhash is None:
raise NotSupportedError("no supported MonetDB password hash in: %s" % hashes)
return ":".join(["BIG", user, pwhash, "sql", database or ""]) + ":"
def _unquote(value):
if value == "NULL":
return None
if len(value) >= 2 and value[0] == '"' and value[-1] == '"':
body = value[1:-1]
if "\\" not in body:
return body
# MonetDB renders control bytes as C octal escapes (\ooo) etc.; decode with unicode_escape but only
# on the ASCII runs so raw multibyte (> 0x7f) is preserved (mirrors pymonetdb's result decoding)
return "".join(seg.encode("utf-8").decode("unicode_escape") if "\\" in seg else seg
for seg in re.split(r"([\x00-\x7f]+)", body))
return value
def _parse_result(text):
description, rows = None, []
for line in text.split("\n"):View on GitHub (pinned to 0a35b20e39)