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

Skip to content

Commit 1b92acc

Browse files
committed
Fixes #4105
1 parent f968b23 commit 1b92acc

2 files changed

Lines changed: 6 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.2.14"
21+
VERSION = "1.4.2.15"
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ def main():
351351
logger.critical(errMsg)
352352
raise SystemExit
353353

354+
elif all(_ in excMsg for _ in ("ntlm", "socket.error, err", "SyntaxError")):
355+
errMsg = "wrong initialization of python-ntlm detected (using Python2 syntax)"
356+
logger.critical(errMsg)
357+
raise SystemExit
358+
354359
elif all(_ in excMsg for _ in ("drda", "to_bytes")):
355360
errMsg = "wrong initialization of drda detected (using Python3 syntax)"
356361
logger.critical(errMsg)

0 commit comments

Comments
 (0)