File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2591,6 +2591,13 @@ def _basicOptionValidation():
2591
2591
errMsg = "switch '--no-cast' is incompatible with switch '--hex'"
2592
2592
raise SqlmapSyntaxException (errMsg )
2593
2593
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
+
2594
2601
if conf .dumpAll and conf .search :
2595
2602
errMsg = "switch '--dump-all' is incompatible with switch '--search'"
2596
2603
raise SqlmapSyntaxException (errMsg )
Original file line number Diff line number Diff line change 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.4.12.33 "
21
+ VERSION = "1.4.12.34 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments