mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
Another patch for #4576
This commit is contained in:
parent
1bef2f8fda
commit
747951b80b
|
@ -2484,7 +2484,9 @@ def _setHttpChunked():
|
|||
if header != HTTP_HEADER.CONTENT_LENGTH:
|
||||
self._putheader(header, *values)
|
||||
|
||||
_http_client.HTTPConnection._putheader = _http_client.HTTPConnection.putheader
|
||||
if not hasattr(_http_client.HTTPConnection, "_putheader"):
|
||||
_http_client.HTTPConnection._putheader = _http_client.HTTPConnection.putheader
|
||||
|
||||
_http_client.HTTPConnection.putheader = putheader
|
||||
|
||||
def _checkWebSocket():
|
||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.5.2.13"
|
||||
VERSION = "1.5.2.14"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user