mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 13:41:29 +00:00
Fixes #1452
This commit is contained in:
@@ -185,7 +185,11 @@ class Connect(object):
|
|||||||
kb.pageCompress = False
|
kb.pageCompress = False
|
||||||
else:
|
else:
|
||||||
while True:
|
while True:
|
||||||
|
if not conn:
|
||||||
|
break
|
||||||
|
else:
|
||||||
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
||||||
|
|
||||||
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
||||||
warnMsg = "large response detected. This could take a while"
|
warnMsg = "large response detected. This could take a while"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user