mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +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 = ""
|
||||
|
||||
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:
|
||||
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
||||
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
||||
|
|
Loading…
Reference in New Issue
Block a user