mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Trivial renaming
This commit is contained in:
parent
10152db8ee
commit
8a97e7edcc
|
@ -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.3.6.27"
|
||||
VERSION = "1.3.6.28"
|
||||
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)
|
||||
|
|
|
@ -294,7 +294,7 @@ class Connect(object):
|
|||
post = _urllib.parse.unquote(post)
|
||||
post = chunkSplitPostData(post)
|
||||
|
||||
websocket_ = url.lower().startswith("ws")
|
||||
webSocket = url.lower().startswith("ws")
|
||||
|
||||
if not _urllib.parse.urlsplit(url).netloc:
|
||||
url = _urllib.parse.urljoin(conf.url, url)
|
||||
|
@ -434,7 +434,7 @@ class Connect(object):
|
|||
|
||||
post = getBytes(post)
|
||||
|
||||
if websocket_:
|
||||
if webSocket:
|
||||
ws = websocket.WebSocket()
|
||||
ws.settimeout(timeout)
|
||||
ws.connect(url, header=("%s: %s" % _ for _ in headers.items() if _[0] not in ("Host",)), cookie=cookie) # WebSocket will add Host field of headers automatically
|
||||
|
|
Loading…
Reference in New Issue
Block a user