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

Skip to content

Commit bfe93e2

Browse files
committed
Patch for #4337
1 parent bcea050 commit bfe93e2

2 files changed

Lines changed: 7 additions & 1 deletion

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.4.9.5"
21+
VERSION = "1.4.9.6"
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
@@ -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 "

0 commit comments

Comments
 (0)