From 880545cad44536d1bb2c96997e0b22cf9e7503d7 Mon Sep 17 00:00:00 2001 From: Nicolas Bonnet Date: Thu, 10 Jan 2019 11:28:10 +0100 Subject: [PATCH] Fix incompatible errMsg for tor and osPwn args (#3432) --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 56ce2ce98..8324de5ab 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -2306,7 +2306,7 @@ def _basicOptionValidation(): errMsg = "option '--not-string' is incompatible with switch '--null-connection'" raise SqlmapSyntaxException(errMsg) - if conf.notString and conf.nullConnection: + if conf.tor and conf.osPwn: errMsg = "option '--tor' is incompatible with switch '--os-pwn'" raise SqlmapSyntaxException(errMsg)