mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 21:24:13 +03:00
Fixes #4141
This commit is contained in:
parent
fcb2a6e111
commit
a8d81a7962
|
@ -52,7 +52,7 @@ def dirtyPatches():
|
||||||
_http_client.HTTPConnection.__send_output = _http_client.HTTPConnection._send_output
|
_http_client.HTTPConnection.__send_output = _http_client.HTTPConnection._send_output
|
||||||
|
|
||||||
def _send_output(self, *args, **kwargs):
|
def _send_output(self, *args, **kwargs):
|
||||||
if conf.chunked and "encode_chunked" in kwargs:
|
if conf.get("chunked") and "encode_chunked" in kwargs:
|
||||||
kwargs["encode_chunked"] = False
|
kwargs["encode_chunked"] = False
|
||||||
self.__send_output(*args, **kwargs)
|
self.__send_output(*args, **kwargs)
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.4.3.8"
|
VERSION = "1.4.3.9"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user