Fix incompatible errMsg for tor and osPwn args (#3432)

This commit is contained in:
Nicolas Bonnet 2019-01-10 11:28:10 +01:00 committed by Miroslav Stampar
parent 5274c88c7d
commit 880545cad4

View File

@ -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)