File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2542,6 +2542,11 @@ def _basicOptionValidation():
25422542 errMsg = "value for option '--first' (firstChar) must be smaller than or equal to value for --last (lastChar) option"
25432543 raise SqlmapSyntaxException (errMsg )
25442544
2545+ if conf .proxyFile and not any ((conf .randomAgent , conf .mobile , conf .agent )):
2546+ warnMsg = "usage of switch '--random-agent' is strongly recommended when "
2547+ warnMsg += "using option '--proxy-file'"
2548+ logger .warn (warnMsg )
2549+
25452550 if conf .textOnly and conf .nullConnection :
25462551 errMsg = "switch '--text-only' is incompatible with switch '--null-connection'"
25472552 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.5.2.9 "
21+ VERSION = "1.5.2.10 "
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