Skip to content

Commit e8e7d66

Browse files
committed
Patch for #5105
1 parent 2038512 commit e8e7d66

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
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.5.2"
23+
VERSION = "1.6.5.3"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
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
@@ -452,6 +452,12 @@ def main():
452452
logger.critical(errMsg)
453453
raise SystemExit
454454

455+
elif all(_ in excMsg for _ in ("PermissionError: [WinError 5]", "multiprocessing")):
456+
errMsg = "there is a permission problem in running multiprocessing on this system. "
457+
errMsg += "Please rerun with '--disable-multi'"
458+
logger.critical(errMsg)
459+
raise SystemExit
460+
455461
elif all(_ in excMsg for _ in ("No such file", "_'")):
456462
errMsg = "corrupted installation detected ('%s'). " % excMsg.strip().split('\n')[-1]
457463
errMsg += "You should retrieve the latest development version from official GitHub "

0 commit comments

Comments
 (0)