This commit is contained in:
Miroslav Stampar
2025-08-18 12:14:17 +02:00
parent 59844b1929
commit dc89ddcfab
3 changed files with 6 additions and 3 deletions

View File

@@ -162,6 +162,9 @@ class Response(object):
response = _http_client.HTTPResponse(FakeSocket(altered))
response.begin()
# NOTE: https://github.com/sqlmapproject/sqlmap/issues/5942
response.length = len(raw[raw.find(b"\r\n\r\n") + 4:])
try:
content = response.read()
except _http_client.IncompleteRead: