From 5b5a765f96142cda789f89d2d16659e598024c40 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 23 Jun 2014 12:24:08 +0200 Subject: [PATCH] Patch for an Issue #734 --- lib/core/option.py | 4 ++++ 1 file changed, 4 insertions(+) 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)