mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Fix for an Issue #250
This commit is contained in:
parent
93e071fc33
commit
c40dded28c
|
@ -136,8 +136,9 @@ class Connect:
|
||||||
retVal = ""
|
retVal = ""
|
||||||
|
|
||||||
if not kb.dnsMode and conn:
|
if not kb.dnsMode and conn:
|
||||||
if conn.headers and (conn.headers.getheader(HTTPHEADER.CONTENT_ENCODING, "").lower() in ("gzip", "deflate")\
|
headers = conn.info()
|
||||||
or "text" not in conn.headers.getheader(HTTPHEADER.CONTENT_TYPE, "").lower()):
|
if headers and (headers.getheader(HTTPHEADER.CONTENT_ENCODING, "").lower() in ("gzip", "deflate")\
|
||||||
|
or "text" not in headers.getheader(HTTPHEADER.CONTENT_TYPE, "").lower()):
|
||||||
retVal = conn.read()
|
retVal = conn.read()
|
||||||
else:
|
else:
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user