Fix incompatible errMsg for tor and osPwn args

This commit is contained in:
Nicolas Bonnet 2019-01-09 21:33:40 +01:00
parent 5274c88c7d
commit 3d3c7e6159

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)