sqlmapproject/sqlmap · error · NotSupportedError
the server answered with the wide ROWFMT2 format
Error message
the server answered with the wide ROWFMT2 format
What it means
Error "the server answered with the wide ROWFMT2 format" thrown in sqlmapproject/sqlmap.
Source
Thrown at extra/dbwire/sybase.py:396
status, _transtate, count = struct.unpack("<HHi", data[off:off + 8]); off += 8
if status & _DONE_COUNT:
affected = count if affected is None else affected + count
elif token == _TOKEN_EED:
length = _u16(data, off)
number, severity, message = _eed(data, off + 2, self._codec)
if severity > 10: # 10 and below are informational (e.g. 'Changed database')
error = (number, "(remote) %s" % message)
off += 2 + length
elif token == _TOKEN_ENVCHANGE:
length = _u16(data, off)
if _u8(data, off + 2) == _ENV_PACKET_SIZE:
size = data[off + 4:off + 4 + _u8(data, off + 3)]
self._chunk = max(_LOGIN_CHUNK, int(size) - _HEADER_SIZE)
off += 2 + length
elif token == _TOKEN_RETURNSTATUS:
off += 4
elif token == _TOKEN_ROWFMT2:
raise NotSupportedError("the server answered with the wide ROWFMT2 format")
else:
off += 2 + _u16(data, off) # every other TDS 5 token is 2-byte length prefixed
if error is not None:
if login:
raise OperationalError(error[1])
_raise_server_error(*error)
return description, rows, affected
def connect(host=None, port=5000, user=None, password=None, database=None, connect_timeout=None, **kwargs):
charset, codec = kwargs.get("charset", "utf8"), "utf-8"
try:
sock = socket.create_connection((host or "localhost", int(port or 5000)), timeout=connect_timeout)
keepalive(sock)
except (socket.error, socket.timeout) as ex:
raise OperationalError("could not connect to '%s:%s' (%s)" % (host, port, ex))
connection = Connection(sock, codec)
try:View on GitHub (pinned to 0a35b20e39)
When it happens
Trigger: Thrown at extra/dbwire/sybase.py:396 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/5ce82dd61bdca061.
Report an issue: GitHub.