Skip to content

Commit b185b5e

Browse files
committed
Update related to #4892
1 parent 3f0ffaf commit b185b5e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-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.5.11.9"
23+
VERSION = "1.5.11.10"
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,13 @@ def main():
349349
logger.critical(errMsg)
350350
raise SystemExit
351351

352+
elif "hash_randomization" in excMsg:
353+
errMsg = "error occurred at Python interpreter which "
354+
errMsg += "is fixed in 2.7.3. Please update accordingly "
355+
errMsg += "(Reference: 'https://docs.python.org/2/library/sys.html')"
356+
logger.critical(errMsg)
357+
raise SystemExit
358+
352359
elif all(_ in excMsg for _ in ("Resource temporarily unavailable", "os.fork()", "dictionaryAttack")):
353360
errMsg = "there has been a problem while running the multiprocessing hash cracking. "
354361
errMsg += "Please rerun with option '--threads=1'"

0 commit comments

Comments
 (0)