diff --git a/lib/core/option.py b/lib/core/option.py index 2a4384e71..c4b4ab868 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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)