mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fix for an Issue #250
This commit is contained in:
@@ -136,8 +136,9 @@ class Connect:
|
||||
retVal = ""
|
||||
|
||||
if not kb.dnsMode and conn:
|
||||
if conn.headers and (conn.headers.getheader(HTTPHEADER.CONTENT_ENCODING, "").lower() in ("gzip", "deflate")\
|
||||
or "text" not in conn.headers.getheader(HTTPHEADER.CONTENT_TYPE, "").lower()):
|
||||
headers = conn.info()
|
||||
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()
|
||||
else:
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user