mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-12 03:05:09 +00:00
Handle unknown WebSocket status codes
This commit is contained in:
parent
c07b15666c
commit
36c55a33fb
3 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.6.2"
|
||||
VERSION = "1.10.6.3"
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ class Connect(object):
|
|||
|
||||
ws.close()
|
||||
code = ws.status
|
||||
status = _http_client.responses[code]
|
||||
status = _http_client.responses.get(code, "")
|
||||
|
||||
class _(dict):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue