File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.4.9.5 "
21+ VERSION = "1.4.9.6 "
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 @@ -428,6 +428,12 @@ def main():
428428 logger .critical (errMsg )
429429 raise SystemExit
430430
431+ elif all (_ in excMsg for _ in ("HTTPNtlmAuthHandler" , "'str' object has no attribute 'decode'" )):
432+ errMsg = "package 'python-ntlm' has a known compatibility issue with the "
433+ errMsg += "Python 3 (Reference: https://github.com/mullender/python-ntlm/pull/61)"
434+ logger .critical (errMsg )
435+ raise SystemExit
436+
431437 elif "'DictObject' object has no attribute '" in excMsg and all (_ in errMsg for _ in ("(fingerprinted)" , "(identified)" )):
432438 errMsg = "there has been a problem in enumeration. "
433439 errMsg += "Because of a considerable chance of false-positive case "
You can’t perform that action at this time.
0 commit comments