From a6310c0b215e3d04ff1648310c90397ecf978945 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 21 Dec 2011 23:04:36 +0000 Subject: [PATCH] minor update --- lib/core/option.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/core/option.py b/lib/core/option.py index cedb0cbc0..0ccc5377e 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1793,6 +1793,10 @@ def __basicOptionValidation(): errMsg = "switch --regexp is incompatible with switch --null-connection" raise sqlmapSyntaxException, errMsg + if conf.dumpTable and conf.dumpAll: + errMsg = "switch --dump is incompatible with switch --dump-all" + raise sqlmapSyntaxException, errMsg + if conf.predictOutput and (conf.threads > 1 or conf.optimize): errMsg = "switch --predict-output is incompatible with switch --threads and -o" raise sqlmapSyntaxException, errMsg