removing obsolete switches (--threshold, --excl-reg, --excl-str)

This commit is contained in:
Miroslav Stampar
2011-02-03 15:55:19 +00:00
parent 253a8d0679
commit b56a77e573
6 changed files with 4 additions and 58 deletions

View File

@@ -1384,10 +1384,6 @@ def __basicOptionValidation():
errMsg = "value for --cpu-throttle (cpuThrottle) option must be in range [0,100]"
raise sqlmapSyntaxException, errMsg
if conf.thold is not None and isinstance(conf.thold, float) and (conf.thold > 1 or conf.cpuThrottle < 0):
errMsg = "value for --threshold (thold) option must be in range [0,1]"
raise sqlmapSyntaxException, errMsg
if conf.textOnly and conf.nullConnection:
errMsg = "switch --text-only is incompatible with switch --null-connection"
raise sqlmapSyntaxException, errMsg