{"record":{"id":"97a71bf6c64ffbd9","repo":"sqlmapproject/sqlmap","slug":"unsupported-monetdb-password-algorithm-s","errorCode":null,"errorMessage":"unsupported MonetDB password algorithm: %s","messagePattern":"unsupported MonetDB password algorithm: (.+?)","errorType":"exception","errorClass":"NotSupportedError","httpStatus":null,"severity":"error","filePath":"extra/dbwire/monetdb.py","lineNumber":76,"sourceCode":"        except (socket.error, OSError) as ex:\n            raise connection_lost(ex)\n        if last:\n            break\n\ndef _challenge_response(challenge, user, password, database):\n    parts = challenge.split(\":\")\n    if len(parts) < 7 or parts[-1] != \"\":\n        raise OperationalError(\"invalid MonetDB challenge\")\n    salt, server_type, protocol, hashes = parts[0], parts[1], parts[2], parts[3]\n    if protocol != \"9\":\n        raise NotSupportedError(\"only MAPI protocol v9 is supported\")\n    if server_type == \"merovingian\":  # proxy stage: authenticate as merovingian, real creds go to the mserver\n        user, password = \"merovingian\", \"\"\n    pwalgo = parts[5]\n    try:\n        password = hashlib.new(pwalgo, password.encode(\"utf-8\")).hexdigest()\n    except ValueError:\n        raise NotSupportedError(\"unsupported MonetDB password algorithm: %s\" % pwalgo)\n    pwhash = None\n    for algo in hashes.split(\",\"):\n        try:\n            h = hashlib.new(algo)\n        except ValueError:\n            continue\n        h.update(password.encode(\"utf-8\"))\n        h.update(salt.encode(\"utf-8\"))\n        pwhash = \"{%s}%s\" % (algo, h.hexdigest())\n        break\n    if pwhash is None:\n        raise NotSupportedError(\"no supported MonetDB password hash in: %s\" % hashes)\n    return \":\".join([\"BIG\", user, pwhash, \"sql\", database or \"\"]) + \":\"\n\ndef _unquote(value):\n    if value == \"NULL\":\n        return None\n    if len(value) >= 2 and value[0] == '\"' and value[-1] == '\"':","sourceCodeStart":58,"sourceCodeEnd":94,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/extra/dbwire/monetdb.py#L58-L94","documentation":"Error \"unsupported MonetDB password algorithm: %s\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at extra/dbwire/monetdb.py:76 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}