Patch for an Issue #734

This commit is contained in:
Miroslav Stampar 2014-06-23 12:24:08 +02:00
parent 11dee4c8cd
commit 5b5a765f96

View File

@ -2104,6 +2104,10 @@ def _basicOptionValidation():
errMsg = "switch '--no-cast' is incompatible with switch '--hex'"
raise SqlmapSyntaxException(errMsg)
if conf.dumpAll and conf.search:
errMsg = "switch '--dump-all' is incompatible with switch '--search'"
raise SqlmapSyntaxException(errMsg)
if conf.string and conf.notString:
errMsg = "option '--string' is incompatible with switch '--not-string'"
raise SqlmapSyntaxException(errMsg)