File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1818from 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 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments