mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-08 05:43:17 +03:00
Minor just in case update for an Issue #117
This commit is contained in:
parent
c6b724489b
commit
63bf99ce77
|
@ -124,6 +124,10 @@ class Connect:
|
||||||
retVal = ""
|
retVal = ""
|
||||||
|
|
||||||
if not kb.dnsMode:
|
if not kb.dnsMode:
|
||||||
|
if conn.headers.getheader(HTTPHEADER.CONTENT_ENCODING, "").lower() in ("gzip", "deflate")\
|
||||||
|
or "text" not in conn.headers.getheader(HTTPHEADER.CONTENT_TYPE, "").lower():
|
||||||
|
retVal = conn.read()
|
||||||
|
else:
|
||||||
while True:
|
while True:
|
||||||
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
||||||
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user