Skip to content

Commit 99e6d56

Browse files
committed
Fixes #4494
1 parent 41e247b commit 99e6d56

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

lib/core/option.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,6 +2591,13 @@ def _basicOptionValidation():
25912591
errMsg = "switch '--no-cast' is incompatible with switch '--hex'"
25922592
raise SqlmapSyntaxException(errMsg)
25932593

2594+
if conf.crawlDepth:
2595+
try:
2596+
xrange(conf.crawlDepth)
2597+
except OverflowError as ex:
2598+
errMsg = "invalid value used for option '--crawl' ('%s')" % getSafeExString(ex)
2599+
raise SqlmapSyntaxException(errMsg)
2600+
25942601
if conf.dumpAll and conf.search:
25952602
errMsg = "switch '--dump-all' is incompatible with switch '--search'"
25962603
raise SqlmapSyntaxException(errMsg)

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.12.33"
21+
VERSION = "1.4.12.34"
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)

0 commit comments

Comments
 (0)