Skip to content

Commit cfe43e3

Browse files
committed
1 parent 6395481 commit cfe43e3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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.5.4.0"
21+
VERSION = "1.5.4.1"
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)

sqlmap.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,12 @@ def main():
386386
logger.critical(errMsg)
387387
raise SystemExit
388388

389+
elif "'WebSocket' object has no attribute 'status'" in excMsg:
390+
errMsg = "wrong websocket library detected"
391+
errMsg += " (Reference: 'https://github.com/sqlmapproject/sqlmap/issues/4572#issuecomment-775041086')"
392+
logger.critical(errMsg)
393+
raise SystemExit
394+
389395
elif all(_ in excMsg for _ in ("window = tkinter.Tk()",)):
390396
errMsg = "there has been a problem in initialization of GUI interface "
391397
errMsg += "('%s')" % excMsg.strip().split('\n')[-1]

0 commit comments

Comments
 (0)