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():
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 )
Original file line number Diff line number Diff line change 1818from 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 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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