Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a97e7e

Browse files
committed
Trivial renaming
1 parent 10152db commit 8a97e7e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.6.27"
21+
VERSION = "1.3.6.28"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/request/connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def getPage(**kwargs):
294294
post = _urllib.parse.unquote(post)
295295
post = chunkSplitPostData(post)
296296

297-
websocket_ = url.lower().startswith("ws")
297+
webSocket = url.lower().startswith("ws")
298298

299299
if not _urllib.parse.urlsplit(url).netloc:
300300
url = _urllib.parse.urljoin(conf.url, url)
@@ -434,7 +434,7 @@ def getPage(**kwargs):
434434

435435
post = getBytes(post)
436436

437-
if websocket_:
437+
if webSocket:
438438
ws = websocket.WebSocket()
439439
ws.settimeout(timeout)
440440
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

0 commit comments

Comments
 (0)