mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-17 03:50:42 +03:00
Bug fix for ultra-slow processing of binary data
This commit is contained in:
parent
ebc964267f
commit
6caccc3d93
|
@ -568,6 +568,10 @@ class Connect(object):
|
||||||
raise SqlmapConnectionException(warnMsg)
|
raise SqlmapConnectionException(warnMsg)
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
if HTTP_HEADER.CONTENT_TYPE in (responseHeaders or {}) and responseHeaders[HTTP_HEADER.CONTENT_TYPE] in ("application/octet-stream",):
|
||||||
|
page = unicode(page, errors="replace")
|
||||||
|
else:
|
||||||
|
page = page if isinstance(page, unicode) else getUnicode(page)
|
||||||
page = page if isinstance(page, unicode) else getUnicode(page)
|
page = page if isinstance(page, unicode) else getUnicode(page)
|
||||||
socket.setdefaulttimeout(conf.timeout)
|
socket.setdefaulttimeout(conf.timeout)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user