{"record":{"id":"33dc66dcdd7a7bff","repo":"sqlmapproject/sqlmap","slug":"ordered-poc-unavailable-in-equality-only-compare-m","errorCode":null,"errorMessage":"ordered PoC unavailable in equality-only compare mode","messagePattern":"ordered PoC unavailable in equality-only compare mode","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"extra/esperanto/enumeration.py","lineNumber":791,"sourceCode":"            if self._comparator == \"between\":\n                return \"%s BETWEEN %d AND %d\" % (code, gt + 1, 1 << 62)\n            if self._cmpTemplate is not None:\n                return self._cmpTemplate.format(expr=code, n=gt)\n            raise RuntimeError(\"ordered PoC unavailable: membership comparator has no '>' form\")\n        # hex / collation / ordinal compare strings or wrapped values with '>'; if '>' was\n        # blocked (comparator isn't 'gt') there is NO equivalent renderer for these text modes\n        # -> refuse rather than emit a predicate the target already rejected.\n        if self._comparator != \"gt\":\n            raise RuntimeError(\"ordered PoC unavailable: '>' blocked and %s mode has no operator-free form\" % self.dialect.compare)\n        if self.dialect.compare == \"hex\" and self.dialect.hexfn:\n            return \"%s>'%02X'\" % (self.dialect.hexfn[1].format(expr=one), gt)\n        if self.dialect.compare == \"collation\" and self.dialect.binwrap:\n            w = self.dialect.binwrap[1]\n            return \"%s>%s\" % (w.format(x=one), w.format(x=self._lit(chr(gt))))\n        if self.dialect.compare in (\"equality\", \"equality-ci\"):\n            # equality mode was chosen BECAUSE ordering isn't trustworthy - don't\n            # fabricate a `>` predicate the target's collation may not honour\n            raise RuntimeError(\"ordered PoC unavailable in equality-only compare mode\")\n        return \"%s>%s\" % (one, self._lit(chr(gt)))\n\n    def strategy(self):\n        \"\"\"Freeze the discovered dialect into an immutable InferenceStrategy - the\n        hand-off artifact for a host inference engine (see hostExtract). Ensures the\n        hex fn and quoting/backslash flags are resolved before freezing.\"\"\"\n        d = self.dialect\n        if not self._discovered:\n            self.discover()\n        self._ensureHexfn()\n        self._lit(\"x\")                               # resolve backslash-escape flag\n        return InferenceStrategy(\n            product=d.product or d.family, family=d.family, compare_mode=d.compare,\n            catalog=d.catalog, dual=(d.dual[1] if d.dual else \"\"), notes=tuple(d.notes),\n            substring=(d.substring[1] if d.substring else None),\n            index_base=(d.substring.get(\"index_base\", 1) if d.substring else 1),\n            length=(d.length[1] if d.length else None),\n            charcode=(d.charcode[1] if d.charcode else None),","sourceCodeStart":773,"sourceCodeEnd":809,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/extra/esperanto/enumeration.py#L773-L809","documentation":"Error \"ordered PoC unavailable in equality-only compare mode\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at extra/esperanto/enumeration.py:791 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"}