mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 00:42:23 +01:00
Minor just in case update for an Issue #117
This commit is contained in:
parent
c6b724489b
commit
63bf99ce77
1 changed files with 14 additions and 10 deletions
|
|
@ -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 a new issue